summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/stream_janus.js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-09-18 04:37:43 +0300
committerMaxim Devaev <[email protected]>2024-09-18 04:37:43 +0300
commit7a53f1445619fc471c2823e7081de8b6039b938e (patch)
tree961dd0072cc976504fe4570743d801c79512e9a6 /web/share/js/kvm/stream_janus.js
parent45270a09d7b5076bac96887a1e36d752882e3adf (diff)
refactoring
Diffstat (limited to 'web/share/js/kvm/stream_janus.js')
-rw-r--r--web/share/js/kvm/stream_janus.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/kvm/stream_janus.js b/web/share/js/kvm/stream_janus.js
index 0400267b..be62dbbd 100644
--- a/web/share/js/kvm/stream_janus.js
+++ b/web/share/js/kvm/stream_janus.js
@@ -435,8 +435,8 @@ JanusStreamer.ensure_janus = function(callback) {
callback(true);
},
});
- }).catch((err) => {
- tools.error("Stream: Can't import Janus module:", err);
+ }).catch((ex) => {
+ tools.error("Stream: Can't import Janus module:", ex);
callback(false);
});
} else {