We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Error message triggered by library should be a string, not an object.
The following code is the cause of the problem :
https://github.com/thelinmichael/spotify-web-api-node/blob/master/src/http-manager.js#L47
/* Other type of error, or unhandled Web API error format */ return new WebapiError(response.body, response.headers, response.statusCode, response.body);
https://github.com/thelinmichael/spotify-web-api-node/blob/master/src/response-error.js#L17
class WebapiError extends NamedError { constructor(body, headers, statusCode, message) { super(message); this.body = body; this.headers = headers; this.statusCode = statusCode; }
The text was updated successfully, but these errors were encountered:
thelinmichael#471 [WebApiError] Error message type should be a string
39a7af7
+1
Sorry, something went wrong.
No branches or pull requests
Hi,
Error message triggered by library should be a string, not an object.
The following code is the cause of the problem :
The text was updated successfully, but these errors were encountered: