diff --git a/src/utils/errors.ts b/src/utils/errors.ts index e8adbca1..674cfdec 100644 --- a/src/utils/errors.ts +++ b/src/utils/errors.ts @@ -99,7 +99,7 @@ export class UnknownCallError extends ElementCallError { t("error.generic"), ErrorCode.UNKNOWN_ERROR, ErrorCategory.UNKNOWN, - error.message, + undefined, // Properly set it as a cause for a better reporting on sentry error, );