Skip to content

Commit

Permalink
Disable the default page error handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
davoclavo committed Apr 9, 2012
1 parent 14b1ec6 commit 16b933b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/webpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ exports.create = function (opts) {

defineSetter("onError", "javaScriptErrorSent");

page.onError = phantom.defaultErrorHandler;
// page.onError = phantom.defaultErrorHandler;

page.open = function (url, arg1, arg2, arg3, arg4) {
if (arguments.length === 1) {
Expand Down

0 comments on commit 16b933b

Please sign in to comment.