CodeChain-io / CodeChain-io/cron-jobs

[val-val] Unhandled Promise Rejection because of min validator

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```
(node:7171) UnhandledPromiseRejectionWarning: Error: The number of validators is 2 at 463078. min: 4
at Object.check [as default] (/home/beagle/val-val/val-val/build/election.js:57:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:7171) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7171) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: The number of validators is 2 at 463078. min: 4
Error: The number of validators is 2 at 463078. min: 4
at Object.check [as default] (/home/beagle/val-val/val-val/build/election.js:57:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:7171) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.