MetaCell / geppetto-scidash

Geppetto scidash extension
2 stars 1 forks source link

Implement error handling on frontend #396

Closed gidili closed 3 years ago

gidili commented 4 years ago

Since the upgrade to React 16 done with the card #390 we need to:

rgerkin commented 4 years ago

It would be sufficient for these errors to be visible in the browser developer console (provided they are informative about the underlying Gepetto error).

Having them also be shown in the browser itself (e.g. status update on the page) could be a separate issue, which would require discussion about how much error info a user should get to see. For example, may underlying errors in Geppetto could simply map to a user message of "Simulator error; the developers have been notified".

gidili commented 4 years ago

@rgerkin This issue is about having a useful error in the score card ERROR field (both in the db and displayed in the dashboard with all the scores when you expand details) when the simulation is not successful - sometimes when the neuroml fails to parse we get fairly obscure errros back from the libraries we are using and these errors are sometimes completely opaque to a scidash user who knows nothing about lems components.