]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Include optional log message on errors
authorPierre Ossman <ossman@cendio.se>
Tue, 5 Sep 2017 12:31:37 +0000 (14:31 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 5 Sep 2017 12:31:37 +0000 (14:31 +0200)
tests/playback-ui.js

index c5197a40c7716ef2ed3d4928cc21a3d613f44eae..5e10d773c9785c7f16d06be22e1eccc9399e8ccf 100644 (file)
@@ -180,4 +180,4 @@ function start() {
     player.start(mode);
 }
 
-loadFile().then(enableUI).catch(function (e) { message("Error loading recording"); });
+loadFile().then(enableUI).catch(function (e) { message("Error loading recording: " + e); });