Skip to content

Commit 5dfc89d

Browse files
committed
fixup: lint error
1 parent 1fbf8e2 commit 5dfc89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/room/GroupCallView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const GroupCallView: FC<Props> = ({
185185
} else {
186186
logger.error(`Unknown Error while entering RTC session`, e);
187187
const error = new ElementCallError(
188-
e.message,
188+
e instanceof Error ? e.message : "Unknown error",
189189
ErrorCode.UNKNOWN_ERROR,
190190
ErrorCategory.UNKNOWN,
191191
);

0 commit comments

Comments
 (0)