You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello @andersevenrud
In certain cases, some unhandled errors in the program are causing OS.js to crash unexpectedly. To improve the stability and prevent the entire system from going down due to unhandled exceptions, it might be beneficial to implement a global error handler.
For example, by adding the following code to the beginning of src/server/index.js, we can log the error without crashing OS.js:
This approach would ensure that the server continues running even if an uncaught exception occurs, allowing us to log and address the issue without interrupting service.