Skip to content

Commit

Permalink
style(MongoBinaryDownload): add status code to "status is not 200" error
Browse files Browse the repository at this point in the history
re #720
  • Loading branch information
hasezoey committed Jan 6, 2023
1 parent 6a38d17 commit ad304ee
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -429,7 +429,7 @@ export class MongoBinaryDownload {
return;
}

reject(new Error('Status Code isnt 200!'));
reject(new Error(`Status Code isnt 200! (it is ${response.statusCode})`));

return;
}
Expand Down

0 comments on commit ad304ee

Please sign in to comment.