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

Unhandled Promise Rejection Warning #4

Closed
mlnewbie opened this issue Mar 5, 2018 · 1 comment
Closed

Unhandled Promise Rejection Warning #4

mlnewbie opened this issue Mar 5, 2018 · 1 comment

Comments

@mlnewbie
Copy link

mlnewbie commented Mar 5, 2018

Receiving an unhandled promise rejection warning for every function call.
In servicenow.js, you're sending callback(err) in the axios req catch statements, would that need to change? - Reference axios/axios#18

(node:11476) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: callback is not a function

@ChaitanyaKaranam
Copy link
Owner

Handled callback issues in new version. This issue occurs when callback function is not passed as parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants