Skip to main content

Django app to log javascript errors.

Project description

JSErr Django app to log javascript errors.

Updates February 7, 2013: added tracking for ip address, browser, browser version, os and if cookies are enabled Prerequisites PyYAML: http://pypi.python.org/pypi/PyYAML/ Setup Add jserr to apps list in your settings.py file.

INSTALLED_APPS = [ …, ‘jserr’, …, ]

Sync database.

./manage.py syncdb

In your template file add jserr template tag, likely before any javascript files that you want to track.

…. {% load jserr %} … {% jserr %}

Add the following to your urls.py file.

url(r’^jserr/’, include(‘jserr.urls’)),

Done :)

Note: only tracks errors when not in debug mode (DEBUG = False)

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page