nicholascc / steem-state

A framework for developing soft-consensus DApps on the Steem blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when starting app

dpdanpittman opened this issue · comments

I just started seeing this error when starting my app.

2020-04-07T10:29:20.200367+00:00 app[web.1]:     at processBlock (/app/processor.js:93:30)
2020-04-07T10:29:20.200368+00:00 app[web.1]:     at /app/processor.js:44:11
2020-04-07T10:29:20.200369+00:00 app[web.1]:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-04-07T10:29:20.200490+00:00 app[web.1]: (node:23) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
2020-04-07T10:29:20.200612+00:00 app[web.1]: (node:23) [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.```

Sorry I took so long to respond.

I can’t tell right now what that error is because it’s wrapped in a promise. So I have released v1.3.7 of steem-state which should make it print out the error. The new commit was aa4ca19.

(Note: you don’t have to actually add the callback function; it will print out the error with or without the function)