Skip to content

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

@tyagishuchi1

Description

@tyagishuchi1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugHighest priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions