cloud-solutions / zend-sentry Goto Github PK
View Code? Open in Web Editor NEWA Zend Framework 3 module that lets you log to the Sentry.io service.
A Zend Framework 3 module that lets you log to the Sentry.io service.
Is there a way to disable e-mail notifications for dev-environment only? I don't need to get notified about my (and other developers) dev-exeptions...
E.g. to limit the logged priorities, etc.
zend-sentry seems to log in the dev-environment, even if all settings are off: https://app.getsentry.com/cloud-solutions/stagewerteundtugenden/group/3627009/
local.php:
'zend-sentry' => array(
'handle-errors' => 'false',
'call-existing-error-handler' => 'false',
'handle-shutdown-errors' => 'false',
'handle-exceptions' => 'false',
'call-existing-exception-handler' => 'false',
'display-exceptions' => 'false',
'handle-javascript-errors' => 'false',
),
It would be nice to have one master setting 'active'. If this is false, nothing gets logged.
Provide a way to automatically log exceptions to Sentry.
Old raven package is deprecated.
Hello,
Do you plan to update to the new sentry 2.0?
https://github.com/getsentry/sentry-php/blob/master/UPGRADE-2.0.md
Implement a way to easily register Sentry as error handler.
Would be good to have ability to use this library for 1.* versions of zend. And add some tips on how to install this manually, without using composer.
I tried something like:
$this->getEventManager()->trigger('log', $this, array(
'priority' => \Zend\Log\Logger::INFO,
'message' => 'My message',
'tags' => ['type' => 'test'],
'extra' => ['my_extra_attribute' => '[email protected]']
));
but does not seem to work. I only got some result with:
$ravenClient = $this->getServiceLocator()->get('raven');
$ravenClient->extra_context(['my_extra_attribute' => '[email protected]']);
Any idea ? Thanx a lot
Even if zend-sentry.handle-javascript-errors = true
, at least in some cases, javascript errors are not being logged. Maybe this is the case if they are shown in the console and therefore don't get through to the logger.
Hi, on Zend adding zend-sentry I have this error
Zend\ServiceManager\Exception\ServiceNotFoundException
Unable to resolve service "viewhelpermanager" to a factory; are you certain you provided it during configuration?
I used version 3.0.0 of zend-entry
PS. Copying Module.php from source it works
As of zf-2.5.3 (which currently installs zend-mvc 2.7.0), zend-sentry does not work anymore.
Fatal error: Call to undefined method Zend\Mvc\View\Http\ViewManager::getExceptionStrategy() in /app/vendor/cloud-solutions/zend-sentry/Module.php on line 182
Maybe a new major zend-sentry version 2.0.0 is needed to support zend-mvc >= 2.7.0.
Probably something to do with how raven handles the exception handler stack.
Attempting to install via composer causes a failure.
For the general logger, it should be possible to just pass a simple context string instead of an object.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.