diff --git a/api/_errors.ts b/api/_errors.ts index b48ac2651..8cdef3e83 100644 --- a/api/_errors.ts +++ b/api/_errors.ts @@ -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);