mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-30 16:10:08 -04:00
Stringify errors
This commit is contained in:
parent
b9ea6005f8
commit
1cc013ea1b
2 changed files with 2 additions and 2 deletions
src/io
|
@ -138,7 +138,7 @@ class BLESession extends JSONRPCWebSocket {
|
|||
|
||||
_sendError (e) {
|
||||
this._connected = false;
|
||||
log.error(`BLESession error: ${e}`);
|
||||
log.error(`BLESession error: ${JSON.stringify(e)}`);
|
||||
this._runtime.emit(this._runtime.constructor.PERIPHERAL_ERROR);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue