Skip to content

Commit

Permalink
Moved error line after expected failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadbstack committed Oct 25, 2024
1 parent c0e5870 commit ca10f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,10 +601,10 @@ export class PercyClient {
}
}, { identifier: 'comparison.tile.verify', ...meta });
} catch (error) {
this.log.error(error);
if (error.response.statusCode === 400) {
return false;
}
this.log.error(error);
throw error;
}
}
Expand Down

0 comments on commit ca10f68

Please sign in to comment.