-
Notifications
You must be signed in to change notification settings - Fork 212
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
Unhandled promise on the monitor caused 'out of memory' #78
Comments
Which version of bridge-monitor is POA-POA20 Bridge using? |
Are we using an Infura url for |
No, a private node is being used there. I did not put the address in the configuration above in order to not reveal it to public. |
Do we have some more logs before the last error? I'm not able to reproduce the issue. Error |
Here's stderr output from Most of errors are It looks like by default node.js doesn't terminate if there was uncaught exception in a promise, but just hangs 🤷♂️ Maybe we could somehow add a catch-all clause that would log the error and terminate? |
Thanks for the logs. We should improve error handling. Right now if an error is thrown by web3 call, it is being catched, logged and re-thrown 2 times; the last time by the catch-all in We should apply those fixes to the current version and for v1. The following improvements can be also applied to v1 version:
|
Here is report from the bridge monitor validating the POA-POA20 Bridge:
The config file:
The text was updated successfully, but these errors were encountered: