.. -*- coding: utf-8 -*- Project cubicweb-sentry ======================= :creation date: 2015/05/22 support for Sentry (getsentry.com) cube to report errors and tracebacks with context to a sentry instance (using the raven python library). Version 0.2.0 ------------- :publication date: 2018/03/23 :expected date: n/a Ticket #17139532 allow to report logged exceptions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 2.000 :state: validation pending Ticket #17139535 allow to specify public dsn in configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 1.000 :state: validation pending Ticket #16403109 report cubicweb and cubes versions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.500 :state: validation pending Ticket #16403115 report errors found when running ccplugin run commands ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 1.000 :state: validation pending Version 0.1.6 ------------- :publication date: 2017/10/20 :expected date: n/a Version 0.1.5 ------------- :publication date: 2017/06/06 :expected date: n/a Ticket #17080141 Avoid crashing in add_versions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: open ``` web_1 | Traceback (most recent call last): web_1 | File "/usr/local/lib/python2.7/dist-packages/wsgicors.py", line 204, in __call__ web_1 | return self.application(environ, custom_start_response) web_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 233, in __call__ web_1 | response = self.invoke_subrequest(request, use_tweens=True) web_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/router.py", line 208, in invoke_subrequest web_1 | response = handle_request(request) web_1 | File "/usr/local/share/cubicweb/cubes/signedrequest/pconfig.py", line 27, in body_hash web_1 | return handler(request) web_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/tweens.py", line 51, in excview_tween web_1 | request_iface=request_iface.combined web_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/view.py", line 612, in _call_view web_1 | response = view_callable(context, request) web_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/viewderivers.py", line 409, in viewresult_to_response web_1 | result = view(context, request) web_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/viewderivers.py", line 106, in mapped_view web_1 | return _mapped_view(context, request) web_1 | File "/usr/local/share/cubicweb/cubes/sentry/patches.py", line 120, in pyramid_error_handler web_1 | pyramid_handle_error(req) web_1 | File "/usr/local/share/cubicweb/cubes/sentry/patches.py", line 110, in pyramid_handle_error web_1 | add_versions(req, extra) web_1 | File "/usr/local/share/cubicweb/cubes/sentry/patches.py", line 41, in add_versions web_1 | versions = req.get_versions() web_1 | AttributeError: 'Request' object has no attribute 'get_versions' ``` Ticket #17080140 support for newer cubicweb where pyramid.bwcompat is in core ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :state: open Version 0.1.4 ------------- :publication date: 2017/05/24 :expected date: n/a Ticket #16403122 get cubicweb-sentry to work when using WSGI ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 1.000 :state: in-progress Ticket #12497022 Redirect exception should not be sent to sentry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 1.000 :state: open As Redirect exception are supposed to be a normal behaviour and not a True exception, they should not be sent to sentry Comments :: On 2016/04/26 13:23 - alutz wrote : Thanks for the report David. Do you think we should have a blacklist in the code or should there be a user configuration for this ? On 2016/04/26 13:27 - dlaudy wrote : I am not sure the handling of redirection needs a configuration from the user. I think the blacklist is good enough for them. Don't you agree? > On 2016/04/26 13:33 - alutz wrote : > I do agree. I though, maybe this was a good use case to introduce a generic > way of selecting Exceptions one could ignore. Version 0.1.3 ------------- :publication date: 2016/11/09 :expected date: n/a Ticket #9217377 Move catcher to a more appropriate place ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.500 :state: resolved To also get errors from hooks for example. Version 0.1.2 ------------- :publication date: 2015/07/07 :expected date: n/a Ticket #9217338 Catch errors in ViewController.publish ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 1.000 :state: resolved