Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Fix errors not being serialized correctly in _createActionListenerPort
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread committed May 5, 2020
1 parent c1d1fe8 commit c062ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/bg/js/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ class Backend {
port.postMessage({type: 'complete', data: result});
} catch (e) {
if (port !== null) {
port.postMessage({type: 'error', data: e});
port.postMessage({type: 'error', data: errorToJson(e)});
}
cleanup();
}
Expand Down

0 comments on commit c062ef1

Please sign in to comment.