Skip to content

Commit

Permalink
Moved error line after expected failure (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadbstack authored Oct 25, 2024
1 parent c0e5870 commit ce2a7ff
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 ce2a7ff

Please sign in to comment.