AOEpeople/TYPO3-sentry-client-js

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

Homepage:

Size: 8

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TYPO3-sentry-client-js

TYPO3 Extension to integrate client-side error reporting with Sentry.

Description

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>
Installation
composer require aoe/sentry-client-js

After the Extension is installed, you can add the Static Include for the Extension (sentry_client_js).

Configuration

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
Activate / Deactivate

If you do not set your DSN the script is not included.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.