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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page