jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

Polling service does not exit with non-zero code at error #211

Open tyagishuchi1 opened 4 years ago

tyagishuchi1 commented 4 years ago

image

image

Polling service does not catch the error and hence get's stuck at one block with the above error message.

Expected Behavior

It should catch the error and exit the process with a non-zero code.

Steps to Reproduce

  1. Run thor test node on the local machine. bin/thor --network test --api-timeout 10
  2. Connect it to the polling service by adding it's URL in the .env.polling file in the root folder.
  3. Run the service. socker-compose up -d polling_rtr
  4. Stop the thor node.
ashishjur commented 4 years ago

We weren't able to reproduce unhandled promise error reliably. With current fix of using node flag, it behaves as expected. I think we should close this.

I'm removing myself from this. If any input is needed from me, please assign/tag.