diff --git a/src/CallHandler.tsx b/src/CallHandler.tsx
index 5fb7197283..aefa66ecc5 100644
--- a/src/CallHandler.tsx
+++ b/src/CallHandler.tsx
@@ -103,8 +103,11 @@ function getRemoteAudioElement(): HTMLAudioElement {
// Might as well just use DOM.
const remoteAudioElement = document.getElementById("remoteAudio") as HTMLAudioElement;
if (!remoteAudioElement) {
- console.error("Failed to find remoteAudio element - cannot play audio!"
- + "You need to add an to the DOM.");
+ console.error(
+ "Failed to find remoteAudio element - cannot play audio!" +
+ "You need to add an to the DOM.",
+ );
+ return null;
}
return remoteAudioElement;
}