Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[general][utils] Errorprovider throws on api request #8

Open
darklight9811 opened this issue Jul 21, 2021 · 0 comments
Open

[general][utils] Errorprovider throws on api request #8

darklight9811 opened this issue Jul 21, 2021 · 0 comments
Assignees
Labels

Comments

@darklight9811
Copy link
Contributor

Error

(node:17032) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'accept' of undefined
    at Object.isApi [as default] (D:\documentos\projetos\javascript\node\ref_boilerplate\node_modules\@acai\utils\src\utils\isApi.ts:5:24)
    at ErrorProvider.onError (D:\documentos\projetos\javascript\node\ref_boilerplate\node_modules\@acai\utils\src\modules\ErrorProvider.ts:42:12)
    at D:\documentos\projetos\javascript\node\ref_boilerplate\node_modules\@acai\server\src\utils\error.ts:88:36
    at Generator.next (<anonymous>)
    at fulfilled (D:\documentos\projetos\javascript\node\ref_boilerplate\node_modules\@acai\server\dist\utils\error.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17032) 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: 2)
(node:17032) [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.
@darklight9811 darklight9811 self-assigned this Jul 21, 2021
@darklight9811 darklight9811 added the Priority: Critical Must do now label Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant