Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Oct 3, 2024
1 parent 89c7725 commit 4c9362c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/engine/src/utils/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export class ProviderError extends Error {
}

export function createErrorResponse(error: unknown, requestId: string) {
console.error(error);

if (error instanceof ProviderError) {
return {
requestId,
Expand Down

0 comments on commit 4c9362c

Please sign in to comment.