Skip to content

Commit

Permalink
logs: change log format for validator error
Browse files Browse the repository at this point in the history
  • Loading branch information
kamui-fin committed Sep 14, 2023
1 parent cc3e8dc commit bc32553
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/trpc/router/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ export const validatorRouter = router({
})
.catch((err) => {
const errorMessage = `Validator error: ${err.message}`;
console.error(err);
console.error(errorMessage);
console.error('Validator error', err);
throw new TRPCError({
code: 'INTERNAL_SERVER_ERROR',
cause: err,
Expand Down

0 comments on commit bc32553

Please sign in to comment.