diff --git a/apps/engine/src/utils/error.ts b/apps/engine/src/utils/error.ts index 42d46ff0cd..009c164b54 100644 --- a/apps/engine/src/utils/error.ts +++ b/apps/engine/src/utils/error.ts @@ -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,