metz-sh / simulacrum

Code-playground to visualise complex engineering flows.
https://metz.sh
Apache License 2.0
400 stars 28 forks source link

App crashes if DI graph creation fails #27

Closed iostreamer-X closed 2 months ago

iostreamer-X commented 2 months ago

If for some reason the DI graph creation errors out, the app crashes. Not just prints an error but gets stuck in a loader state.

  1. Much like compiler exceptions, runtime errors should be handled gracefully with not state loss
  2. Maybe try.metz.sh should have a fallback storage in browser so that the code written doesn't get lost.