Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

passing error message properly

  • Loading branch information...
commit 8f9235197c50cb96d7073f8f4f7391683b7ccdd1 1 parent d06340f
@remy remy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  remote.js
View
2  remote.js
@@ -179,7 +179,7 @@ remoteFrame.onload = function () {
window.remote = remote;
window.addEventListener && window.addEventListener('error', function (event) {
- remote.error(event, event.filename + ':' + event.lineno);
+ remote.error({ message: event.message }, event.filename + ':' + event.lineno);
}, false);
try {
Please sign in to comment.
Something went wrong with that request. Please try again.