Persistent custom Gotify notifications in GNOME
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Ok but remove all the unnecessary try and catch wrappers and send it again. Just out of curiosity, I'm seeing the unnecessary try and catch wrappers on all new extensions recently. Is there any tutorial out there suggesting that?
Thank you for your feedback and for taking the time to review my extension. I have removed all the unnecessary try and catch wrappers as requested. Only the essential error handling remained around network requests and JSON parsing. Honestly, I made some additional changes in token security and UX and asked ChatGPT, if it will pass the Gnome review process. And it recommended the try and catch wrappers. It sounded logical to protect the shell and my extension from crashing due to race conditions or user misconfiguration.