WP JavaScript Error Logger

By Pär Thernström

★ 5.0/5 (2 ratings)10+ active installationsVersion 1.0

A plugin that will log JavaScript-errors that occurs on the front-end of your website. Errors are logged to a non-public custom post type.

Description

WP JS Error Logger is a small plugin that I very quickly put together after wathcing Diogo Antunes’ presentation “Know your errors” at Front Trends 2013 in Warsaw, Poland.

It’s a plugin that will log the JavaScript-errors that occur on the front-end of your public website. Errors are logged to a non-public custom post type inside WordPress.

The errors that are logged are the errors that call window.onerror. Please note that not all errors end up there. But… some do, and now you can catch them! 😉

Screenshots

Changelog

0.2

  • Second version. Slightly different than first version!

0.1

  • First version