-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Sometimes "Management" kills process #20
Comments
I can't replicate it, but I'll add some more error handling there. |
Thanks, yeah I also wasn't able to replicate it after running into it two times. If it happens again, the page will now be empty, right? Good to still have a sign when the underlying issue applies, so that we can debug at a later time, and an empty page without crashing the process is a good sign 🙂. |
If it happens (along with any other errors), It will disconnect the websocket, which will then try to reconnect, where it will (hopefully) work. |
Okay, sounds best for end users. Probably fine to leave it like that. If we really want to debug, we could add some debug code/output. |
https://github.com/ravenclaw900/DietPi-Dashboard/blob/921913d/src/backend/src/sockets.rs#L309
Got this two times when switching from "Terminal" to "Management", but I cannot reliably replicate it, currently it works well 🤔. But probably it can be enhanced to detect and handle errors gracefully to avoid the panic. I set the
RUST_BACKTRACE=1
variable for further testing, probably it helps.The text was updated successfully, but these errors were encountered: