show message in log

This commit is contained in:
Jakob Ketterl 2019-10-12 20:48:36 +02:00
parent 70d8fe82b3
commit 5b61f8c7a3

View File

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