Skip to content

Commit 2f52924

Browse files
committed
Output to console if message from worker is not JSON
1 parent 4160775 commit 2f52924

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
obj = JSON.parse(ev.data);
3434
}
3535
catch(e) {
36+
console.log(ev.data);
3637
return;
3738
}
3839

0 commit comments

Comments
 (0)