WillNilges / octo-dash-curses

A simple dashboard for displaying the status of octoprint servers on the CLI
MIT License
3 stars 0 forks source link

Segfault on lost connections #30

Open WillNilges opened 3 years ago

WillNilges commented 3 years ago

There isn't enough error checking when calling the API, and somehow, the program segfaults when connection to the OctoPrint server is interrupted. This particular crash was observed during an OctoPrint update.

The program shouldn't exit if possible, instead displaying a popup until connectivity is restored. If we have to exit, do so in a graceful and informative way.