Giter Club home page Giter Club logo

networkteam.sentryclient's Introduction

Networkteam.SentryClient

This is a Sentry client package for the Flow framework and Neos CMS (http://www.neos.io).

It's based on https://github.com/getsentry/raven-php.

Have a look at https://getsentry.com for more information about Sentry.

Installation:

$ composer require networkteam/sentryclient

Compatibility table for the sentry client

There was a failure in the versioning scheme for the client from 1.0.3 on. This is fixed with the 2.x and 3.x versions.

Flow SentryClient
<2.3.9, <3.0.3 2.x, <1.0.3
>=2.3.9, >=3.0.3 3.x, >1.0.3

Configuration:

Add the following to your Settings.yaml and replace the dsn setting with your project DSN (API Keys in your Sentry project):

Networkteam:
  SentryClient:
    # The Sentry DSN
    dsn: 'http://public_key:[email protected]/project-id'

For non-Neos projects the TypoScript error handler aspect needs to be ignored by Flow. This can be achieved by adding the following exclude configuration to your settings:

TYPO3:
  Flow:
    object:
      excludeClasses:
        'Networkteam.SentryClient': ['Networkteam\\SentryClient\\Aspect\\TypoScriptHandlerAspect']

For Flow Versions not ignoring external Packages by default (< 3.0.0) you also need to exclude the following packages from being reflected:

'monolog.monolog': ['.*']
'sentry.sentry': ['.*']            

Usage:

Sentry will log all exceptions that have the rendering option logException enabled. This can be enabled or disabled by status code or exception class according to the Flow configuration.

Development:

This package is managed on GitHub. Feel free to get in touch at https://github.com/networkteam/Networkteam.SentryClient.

License:

See the LICENSE file for license rights and limitations (MIT).

networkteam.sentryclient's People

Contributors

christophlehmann avatar dfeyer avatar hlubek avatar monofone avatar saschanowak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.