flandreas / antares

Digital circuit learning platform
49 stars 6 forks source link

Errors occurring during "Save" can lead to corrupt files #795

Closed flandreas closed 2 months ago

flandreas commented 3 months ago

If a technical error occurs while storing content (such as project structure or circuit content), e.g. caused by a still undetected program bug, it can happen that the file to be updated is corrupt afterwards. In the worst case, the project cannot be opened anymore.

Make the behaviour more robust in such cases. It's okay if the user sees an unexpected error dialog, but for heaven's sake avoid corrupt files.