Permalink
Browse files

Disable the default page error handler.

  • Loading branch information...
1 parent 14b1ec6 commit 16b933b4e1d5e88eb36989f23cf1ccce14f9f1be @davoclavo committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/modules/webpage.js
@@ -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) {

0 comments on commit 16b933b

Please sign in to comment.