aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2019-07-12 16:36:02 -0300
committerJonas Smedegaard <dr@jones.dk>2019-07-12 16:36:02 -0300
commit3de4f72b558319f2b1aed9f7908cd8d35f239c8a (patch)
tree3bcde3d9a3a5749e2e1d53cd838c5359cde3e8ab
parentd1160cc7487b721bf68c9303ab5ce843bb488f7e (diff)
Tidy error message to not talk about demo.
-rw-r--r--website/mic.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/website/mic.js b/website/mic.js
index 4aa8315..76d3005 100644
--- a/website/mic.js
+++ b/website/mic.js
@@ -389,10 +389,7 @@ $(document).ready(function() {
if(msg["error_code"] === 485) {
// This is a "no such room" error: give a more meaningful description
bootbox.alert(
- "<p>Apparently room <code>" + myroom + "</code> (the one this demo uses as a test room) " +
- "does not exist...</p><p>Do you have an updated <code>janus.plugin.audiobridge.cfg</code> " +
- "configuration file? If not, make sure you copy the details of room <code>" + myroom + "</code> " +
- "from that sample in your current configuration file, then restart Janus and try again."
+ "<p>Server error: room <code>" + myroom + "</code> does not exist."
);
} else {
bootbox.alert(msg["error"]);