{"action":"reopened","issue":{"url":"https://api.github.com/repos/getsentry/raven-python/issues/863","repository_url":"https://api.github.com/repos/getsentry/raven-python","labels_url":"https://api.github.com/repos/getsentry/raven-python/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-python/issues/863/comments","events_url":"https://api.github.com/repos/getsentry/raven-python/issues/863/events","html_url":"https://github.com/getsentry/raven-python/issues/863","id":177619574,"number":863,"title":"raven 5.27.0 breaks Flask Application when a route does not exist","user":{"login":"hitigon","id":493756,"avatar_url":"https://avatars.githubusercontent.com/u/493756?v=3","gravatar_id":"","url":"https://api.github.com/users/hitigon","html_url":"https://github.com/hitigon","followers_url":"https://api.github.com/users/hitigon/followers","following_url":"https://api.github.com/users/hitigon/following{/other_user}","gists_url":"https://api.github.com/users/hitigon/gists{/gist_id}","starred_url":"https://api.github.com/users/hitigon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitigon/subscriptions","organizations_url":"https://api.github.com/users/hitigon/orgs","repos_url":"https://api.github.com/users/hitigon/repos","events_url":"https://api.github.com/users/hitigon/events{/privacy}","received_events_url":"https://api.github.com/users/hitigon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-18T00:18:48Z","updated_at":"2016-09-19T15:42:07Z","closed_at":null,"body":"tested raven 5.23, 5.24.1, 5.26.0 and 5.27.0 with OS X, Python 2.7.10, Flask 0.11.1\r\n\r\nthe latest release 5.27.0 breaks Flask App when hitting a non-existing route \r\n\r\nerror log:\r\n\r\n> 2016-09-17 17:14:51,067 [INFO] [werkzeug] 127.0.0.1 - - [17/Sep/2016 17:14:51] \"GET /ccc HTTP/1.1\" 500 -\r\nTraceback (most recent call last):\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 2000, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1991, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1567, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1988, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1641, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1544, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1637, in full_dispatch_request\r\n    rv = self.preprocess_request()\r\n  File \"<path>/lib/python2.7/site-packages/flask/app.py\", line 1837, in preprocess_request\r\n    rv = func()\r\n  File \"<path>/lib/python2.7/site-packages/raven/contrib/flask.py\", line 220, in before_request\r\n    self.client.transaction.push(request.url_rule.rule)\r\nAttributeError: 'NoneType' object has no attribute 'rule'"}}
{"actor":{"display_login":"dcramer"}}