Hi,
While developing a plugin, I noticed that saving an empty (or invalid, for that matter) JSON settings file ends up popping an alert to the user (“Error trying to parse settings”, “No data…”).
I guess this comes from the JSON parser raising an exception, and what I’d like to do is catching this somehow to just fail silently in my plugin. The use-case is for when a user deletes all content inside the settings file.
I searched the documentation and asked on irc, but was not lucky. Is this possible directly in ST?
Thank you.