brandonhorst / LaconaApp

[no longer used]
212 stars 3 forks source link

When extension fails entire no other commands work #149

Open bmeverett opened 7 years ago

bmeverett commented 7 years ago

I found this while developing an extension. If an extension for whatever reason isn't working no other command in Lacona works. This is fine for a developer who is developing an extension because they know it was their extension that is causing the problem. But, if something happens in production with an extension, then it shouldn't cause the entire program to fail as well.

brandonhorst commented 7 years ago

You're right - this is a problem with how the system is currently implemented. Right now, Errors that are thrown in synchronous sections of code (describe functions), and problems with parsing the returned elliptical elements should NOT cause errors. However, problems that occur in asynchronous bits of code will cause slowdowns across the whole system, and trying to load a command with syntax errors will break all commands.

This was improved with v1.1.0, but it still has a way to go.

criztiano commented 7 years ago

Same here: in my case the Applescript addon wasn't working (😥), and "blocked" off any other functionality. Deactivated, everything back to normal.