fixup: lint error

This commit is contained in:
Valere
2025-02-28 12:24:43 +01:00
parent 1fbf8e2686
commit 5dfc89d36c

View File

@@ -185,7 +185,7 @@ export const GroupCallView: FC<Props> = ({
} else {
logger.error(`Unknown Error while entering RTC session`, e);
const error = new ElementCallError(
e.message,
e instanceof Error ? e.message : "Unknown error",
ErrorCode.UNKNOWN_ERROR,
ErrorCategory.UNKNOWN,
);