show message in log

This commit is contained in:
Jakob Ketterl 2019-10-12 20:48:36 +02:00
parent 70d8fe82b3
commit 5b61f8c7a3
1 changed files with 3 additions and 0 deletions

View File

@ -1274,6 +1274,9 @@ function on_ws_recv(evt)
case "bookmarks":
bookmarks.replace_bookmarks(json.value, "server");
break;
case "sdr_error":
divlog(json.value, true);
break;
default:
console.warn('received message of unknown type: ' + json.type);
}