Recommended releases

Download Released

This module will write any JavaScript errors your users may encounter to your site's watchdog
table, so you can review it later. It is very handy for debugging issues that your users may be
experiencing.

The watchdog error message will report on the user, their browser, platform, what URL
they were on, etc.

Usage and Configuration

When a JavaScript error is encountered, it will be written to your watchdog table
as type log_js_errors. View log messages at admin/reports/dblog.

Note: By default, the module will only log js errors for logged-in (authenticated) users. If you wish
to also log errors for anonymous users, add the following to your settings.php file:

$settings['log_js_errors_allow_anonymous'] = TRUE;

Handy Tip

Make sure to tell your Backdrop site to NOT aggregate js files (see admin/config/development/performance) or your
error messages might not help all that much.

This module works well with Watchdog Prune, which can be used to automatically remove certain
entries from your watchdog after a set amount of time. Otherwise, your table may end up with lots
of error messages.

Installation

Current Maintainers

  • Richard Peacock (original creator for Backdrop CMS)
  • Seeking additional maintainers.

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.