Skip to content

Commit

Permalink
Merge pull request #6 from adig/fix_error_handlling_typo
Browse files Browse the repository at this point in the history
Fixes typo that caused exception when handling errors in electron-service
  • Loading branch information
FWeinb committed Oct 15, 2015
2 parents d84e425 + 9253532 commit f514174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron-service/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ app.on('ready', function () {
options,
function (err, data, cleanup) {
if (err !== undefined) {
return reply(error, null, cleanup);
return reply(err, null, cleanup);
}
reply(null, data, cleanup);
}
Expand Down

0 comments on commit f514174

Please sign in to comment.