Hapi Cron Job Sync error
Opened this issue · 0 comments
xavier506 commented
Describe the bug
A clear and concise description of what the bug is.
=== Updating user ratings ====
updateUserRatings Error: Block Producer rate not found
at updateUserRatings (/app/src/utils/update-user-rating.util.js:47:31)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async handler (/app/src/index.js:51:24)
at async exports.Manager.execute (/app/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
at async Object.internals.handler (/app/node_modules/@hapi/hapi/lib/handler.js:46:20)
at async exports.execute (/app/node_modules/@hapi/hapi/lib/handler.js:31:20)
at async Request._lifecycle (/app/node_modules/@hapi/hapi/lib/request.js:371:32)
at async Request._execute (/app/node_modules/@hapi/hapi/lib/request.js:281:9)
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.