intelligent-agent / Reflash

Flasher image for Refactor distro for use with Recore 3D printer board
GNU Affero General Public License v3.0
2 stars 0 forks source link

Add some debug information during the backup procedure #24

Closed eliasbakken closed 1 year ago

eliasbakken commented 1 year ago

When doing a backup of a system, there is very little feedback to the user both in terms of progress and errors. It would be good to provide some text that documents the steps that are occurring during the backup. This can help with debugging any issues during a backup process. One solution could be that the backup script writes to the sqlite3 database directly, or to a separate file similar to the progress file.

eliasbakken commented 1 year ago

There is a now logging to a file with info about the progress. This progress is read by the server and sent to the user interface, but it is not shown to the user. The progress can be seen by opening the development tools and looking at the response from the server.