mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-13 17:04:39 -04:00
Improve error exception report for Android Monitor
Android Monitor doesn't support passing multiple arguments to `console.error`, so this change instead builds a single string for the report.
This commit is contained in:
parent
66e4a55b74
commit
e1109e8ca6
1 changed files with 3 additions and 2 deletions
|
@ -132,8 +132,9 @@ Sequencer.prototype.stepThread = function (thread) {
|
|||
});
|
||||
}
|
||||
catch(e) {
|
||||
console.error('Exception calling block function',
|
||||
{opcode: opcode, exception: e});
|
||||
console.error(
|
||||
'Exception calling block function for opcode: ' +
|
||||
opcode + '\n' + e);
|
||||
} finally {
|
||||
// Update if the thread has set a yield timer ID
|
||||
// @todo hack
|
||||
|
|
Loading…
Reference in a new issue