parent
1677e957cd
commit
bf84e16002
2 changed files with 4 additions and 3 deletions
|
@ -479,9 +479,10 @@ class ReaderInstance {
|
|||
}
|
||||
}
|
||||
catch (e) {
|
||||
let crash = ['setAnnotation'].includes(message.action);
|
||||
this._postMessage({
|
||||
action: 'error',
|
||||
message: `An error occured during '${message ? message.action : ''}'`,
|
||||
action: crash ? 'crash' : 'error',
|
||||
message: `An error occurred during '${message ? message.action : ''}'`,
|
||||
moreInfo: {
|
||||
message: e.message,
|
||||
stack: e.stack,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit afae0b4fbdca16192d217cc0ab702b8ec40a6e1d
|
||||
Subproject commit cb9547a4dabe35d60ea258c8343983ba0ca6185e
|
Loading…
Add table
Add a link
Reference in a new issue