-
-
Notifications
You must be signed in to change notification settings - Fork 203
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] node process exit when saving config. #27
Comments
I don't understand why there are 3 logs, like that, also seems something related to |
The destroying driver instance should be no problem, but we can just avoid executing the method multiple times. About sentry: I haven't seen that warning before. It is probably because it was trying to send an error log while shutting down the process. |
The problem is that, based on what @billiaz said to me, that error caused the process to exit |
Sentry should do nothing until a fatal error occurs (or I tell it to capture a message). |
Ok what I'm missing so is that fatal error, cannot see any stack trace of that and that's why I don't understand where it's coming from 😕 @billiaz Does this happens EVERY time you save new settings? |
@robertsLando noticed it happens 99% of the times. |
That does sound like something crashes. I've never seen the warning before |
i had to run and get this using the --trace-exit command or something similar in node, otherwise logs where giving nothing. |
Any chance to narrow down where the error is coming from? E.g. an unhandledException handler in z2m? @robertsLando |
@billiaz Could you try with #32 ? |
@robertsLando did you find out whats happening? |
@AlCalzone Not sure but I'm trying :) |
Now it's fixed 🎉 |
Version
Build/Run method
zwavejs2mqtt version: master
When saving the configuration on zwavejs2mqtt web interface process exits
running npm with trace-exit
i receive as error
The text was updated successfully, but these errors were encountered: