WP JavaScript Error Logger
[resolved] Errors no longer showing in console ? (4 posts)

  1. jrf
    Posted 3 years ago #


    Is it just me or does this plugin catch and log the errors (which it does well!), but also remove the errors from the js console ?

    Very inconvenient when you're debugging... and unclear from the description of the plugin. Would have saved me a lot of time if I'd know this beforehand...

    Using v1.0 of the plugin and debugging using Firefox 20.0.1 with Firebug 1.11.3.


  2. Pär Thernström
    Plugin Author

    Posted 3 years ago #

    hm, i think you're correct. the plugin returns true from the onerror handler, and for example
    says that "When the function returns true, this prevents the firing of the default event handler."

    This should obviously be in the documentation, and probably a setting for it should exist too.

  3. jrf
    Posted 3 years ago #

    Actually reading that thread it seems that true prevents it in FF, but false prevents it in Chrome... oh dear...

    To be fair, I do not think the plugin should alter the normal behaviour of the js onerror handler, so in my opinion, some browser detection will be needed and returning true/false in a browser dependent manner to ensure that the default onerror behaviour is unchanged.

    Just my two cents... deactivated for now. (I need the console a lot more than the logging)

  4. Pär Thernström
    Plugin Author

    Posted 3 years ago #

    I agree with you. Thanks for the feedback!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP JavaScript Error Logger
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic