Mechanical-Advantage / AdvantageScope

Robot telemetry application
MIT License
165 stars 50 forks source link

Error popup when custom asset JSON file is empty or in wrong format #134

Closed katzuv closed 7 months ago

katzuv commented 7 months ago

image

The error popup keeps popping up, a nice enhancement would be to catch this exception and show a friendlier message to the user.

jwbonner commented 7 months ago

That update should address the issue. JSON parsing issues are correctly caught, and any asset loading failure (regardless of cause) will produce a popup with details available in the developer console.