Skip to content

Commit

Permalink
chore: improve error log
Browse files Browse the repository at this point in the history
  • Loading branch information
dohaki committed Jan 14, 2025
1 parent 49f146c commit f064c15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/_errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ export function handleErrorCondition(
at: endpoint,
code: acrossApiError.code,
message: `Status ${acrossApiError.status} - ${acrossApiError.message}`,
cause: acrossApiError.cause,
});

return response.status(acrossApiError.status).json(acrossApiError);
Expand Down

0 comments on commit f064c15

Please sign in to comment.