Skip to content

Commit

Permalink
#92 convert exception to a string
Browse files Browse the repository at this point in the history
so it will be available in the server-side error message
  • Loading branch information
totaam committed Aug 19, 2021
1 parent c26aac3 commit 732c824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5/js/DecodeWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function decode_draw_packet(packet) {
self.postMessage({'draw': p}, raw_buffers);
}
function decode_error(msg) {
self.postMessage({'error': msg, 'packet' : packet});
self.postMessage({'error': ""+msg, 'packet' : packet});
}

function hold() {
Expand Down

0 comments on commit 732c824

Please sign in to comment.