Code Monkey home page Code Monkey logo

sentry's Introduction

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte

Usage

To install latest version of contributte/sentry use Composer.

composer require contributte/sentry

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch Nette PHP
dev ^0.4 master 3.1+ >=8.1
stable ^0.3 master 3.1+ >=8.1

Development

See how to contribute to this package. This package is currently maintained by these authors.


Consider to support contributte development team. Also thank you for using this package.

sentry's People

Contributors

creeperface01 avatar emololftw avatar f3l1x avatar janmikes avatar ojanota avatar roman3349 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sentry's Issues

`Nette\Http\Session::getIterator()` deprecation in Nette\Http v3.2.0

Nette\Http\Session::getIterator() used in NetteSessionIntegration is deprecated since Nette\Http v3.2.0

Deprecated: Nette\Http\Session::getIterator() is deprecated in /builds/open-source/iqrf-gateway-webapp/vendor/nette/http/src/Http/Session.php on line 344
E_USER_DEPRECATED: Nette\Http\Session::getIterator() is deprecated

in src/Http/Session.php(344) 
in src/Framework/TestCase.php(106) Sentry\ErrorHandler->handleError()
in [internal function]Tester\TestCase->Tester\{closure}()
in src/Http/Session.php(344) trigger_error()
in src/Integration/NetteSessionIntegration.php(33) Nette\Http\Session->getIterator()
in src/Integration/BaseIntegration.php(25) Contributte\Sentry\Integration\NetteSessionIntegration->setup()
in src/State/Scope.php(378) Contributte\Sentry\Integration\BaseIntegration->Contributte\Sentry\Integration\{closure}()
in sentry/src/Client.php(292) Sentry\State\Scope->applyToEvent()
in sentry/src/Client.php(175) Sentry\Client->prepareEvent()
in sentry/src/Client.php(167) Sentry\Client->captureEvent()
in src/State/Hub.php(138) Sentry\Client->captureException()
in src/Integration/AbstractErrorListenerIntegration.php(25) Sentry\State\Hub->captureException()
in src/State/Hub.php(93) Sentry\Integration\AbstractErrorListenerIntegration->Sentry\Integration\{closure}()
in src/Integration/AbstractErrorListenerIntegration.php(26) Sentry\State\Hub->withScope()
in src/Integration/ExceptionListenerIntegration.php(32) Sentry\Integration\AbstractErrorListenerIntegration->captureException()
in sentry/src/ErrorHandler.php(420) Sentry\Integration\ExceptionListenerIntegration::Sentry\Integration\{closure}()
in sentry/src/ErrorHandler.php(346) Sentry\ErrorHandler->invokeListeners()
in [internal function]Sentry\ErrorHandler->handleException()

Feature request: Possibility to modify ClientBuilder

Right now it is not possible to customize ClientBuilder instance (for example add logger to it), because the clientBuilder is registered as soon as container is created and i see no space for modification (calling methods) on it, before the hub is created with it.

$builder = ClientBuilder::create($config['client']);
$hub = new Hub($builder->getClient());

Let's brainstorm about how it would be possible to do add modifications to it (etc i want to call setLogger().

Screenshot 2024-01-28 at 17 27 37

IgnoreErrorExtension not ignoring my error

Hi my config is:

sentry:
    enable: %productionMode%
    client:
        dsn: https://xxxxxxxxxxxxxx.cz/1
        integrations:
            - Contributte\Sentry\Integration\IgnoreErrorIntegration([
                ignore_exception_regex: [
                    '/Core Warning/'
                ],
                ignore_message_regex: [
                    '/Core Warning/'
                ],
            ])

and I still have this error in sentry

[Sentry\Exception\FatalErrorException Unknown in ?]
Core Warning: Module 'ssh2' already loaded

This error is like 12K per day and server admins are unable ti fix it. Am i missing something in config or so?

Make NetteHttpIntegration same as native

Z Nette fora:

Ahoj, používáme tento doplněk na x projektech a je to super. Ale všiml jsem si že integrace https://github.com/…egration.php je oproti té výchozí přímo od sentry sdk https://github.com/…egration.php spíše downgrade a x věcí tam chybí. Má tato integrace nějaký konkrétní důvod proč ji využívat místo té výchozí od sentry, která poskytuje více informací? Bohužel tuhle integraci na všech projektech vypínám a používám tu default. Ostatní integrace jsou fajn, ale toto mi smysl moc nedává.

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.