Skip to content

Commit

Permalink
Merge pull request #81 from Fannon/devel
Browse files Browse the repository at this point in the history
Nodemw is not forwarding the error messages from the MW API
  • Loading branch information
macbre committed Nov 10, 2015
2 parents ae5377f + d212431 commit 340e84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ module.exports = (function() {
callback(null, data);
}
else {
callback(new Error('Edit failed'));
callback(new Error('Edit failed: ' + err));
}
}, 'POST');
});
Expand Down

0 comments on commit 340e84e

Please sign in to comment.