Don't present internal error messages as if they are localized

This commit is contained in:
Robin
2025-06-13 00:09:33 -04:00
parent 31c35583fb
commit 905177f0b6

View File

@@ -99,7 +99,7 @@ export class UnknownCallError extends ElementCallError {
t("error.generic"), t("error.generic"),
ErrorCode.UNKNOWN_ERROR, ErrorCode.UNKNOWN_ERROR,
ErrorCategory.UNKNOWN, ErrorCategory.UNKNOWN,
error.message, undefined,
// Properly set it as a cause for a better reporting on sentry // Properly set it as a cause for a better reporting on sentry
error, error,
); );