Merge pull request #1270 from balena-io/remove-double-print

Remove double printing of API status error
This commit is contained in:
CameronDiver 2020-04-21 10:36:51 +01:00 committed by GitHub
commit f4fa5a0707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -531,10 +531,6 @@ export class APIBinder {
`Non-200 response from the API! Status code: ${e.statusCode} - message:`,
e,
);
log.error(
`Non-200 response from the API! Status code: ${e.statusCode} - message:`,
e,
);
} else {
throw e;
}