alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
17 stars 6 forks source link

List errors where we need feedback #452

Open kallewesterling opened 1 month ago

kallewesterling commented 1 month ago

Size: medium Priority: low

chrisdburr commented 2 weeks ago

What's this issue for @kallewesterling. Please add more information.

kallewesterling commented 2 weeks ago

This is needed as a prerequirement for solving https://github.com/alan-turing-institute/AssurancePlatform/issues/435.

kallewesterling commented 2 weeks ago

I think it's difficult to know what errors could occur not knowing the code side of the frontend very well. All operations to database should probably be wrapped in try { ... } catch(err) { ... } statements, where catch(err) { ... } should generate some kind of output to the user in the front-end. CUrrently, the only error output can be observed in the browser Developer Tools.