send a log message to the client when a device fails

This commit is contained in:
Jakob Ketterl
2019-12-23 21:18:06 +01:00
parent 46b5e9034f
commit 11cfca5211
2 changed files with 9 additions and 1 deletions

View File

@ -1142,6 +1142,9 @@ function on_ws_recv(evt) {
case 'secondary_demod':
secondary_demod_push_data(json['value']);
break;
case 'log_message':
divlog(json['value'], true);
break;
default:
console.warn('received message of unknown type: ' + json['type']);
}