Name: TYPO3-sentry-client-js
Owner: AOE
Description: TYPO3 Extension to integrate client-side error reporting with Sentry
Created: 2016-11-15 08:56:36.0
Updated: 2016-11-16 09:42:21.0
Pushed: 2017-12-21 08:13:47.0
Size: 8
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
TYPO3 Extension to integrate client-side error reporting with Sentry.
The extension adds the Sentry JavaScript library (Raven.js) into your page.
Example Output
<script src="https://cdn.ravenjs.com/3.8.0/raven.min.js" crossorigin="anonymous"></script>
<script>Raven.config('https://xxxxxxxxxxxxxxxxx@sentry.io/xxxxxx').install();</script>
composer require aoe/sentry-client-js
After the Extension is installed, you can add the Static Include for the Extension (sentry_client_js).
You can set your Sentry client key (DSN) with a TypoScript constant:
const.tx_sentry_client_js.dsn = https://xxxxxxxxxxxxxxxxx@sentry.io/xxxxxx
You can set the desired Raven.js version:
const.tx_sentry_client_js.client_version = 3.13.1
If you do not set your DSN the script is not included.