File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ def _make_event_processor(self, request):
56
56
57
57
def processor (event ):
58
58
if "transaction" not in event :
59
- with _internal_exceptions () :
59
+ try :
60
60
event ["transaction" ] = resolve (request .path ).func .__name__
61
+ except Exception :
62
+ pass
61
63
62
64
with _internal_exceptions ():
63
65
DjangoRequestExtractor (request ).extract_into_event (
Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ def _make_event_processor():
51
51
def event_processor (event ):
52
52
if request :
53
53
if "transaction" not in event :
54
- with _internal_exceptions () :
54
+ try :
55
55
event ["transaction" ] = request .url_rule .endpoint
56
+ except Exception :
57
+ pass
56
58
57
59
with _internal_exceptions ():
58
60
FlaskRequestExtractor (request ).extract_into_event (event , client_options )
You can’t perform that action at this time.
0 commit comments