File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1161,7 +1161,14 @@ def event_from_exception(
11611161 # type: (...) -> Tuple[Event, Dict[str, Any]]
11621162 exc_info = exc_info_from_error (exc_info )
11631163 hint = event_hint_with_exc_info (exc_info )
1164+ # TODO: do not use extract_stack() but get the real stack frames (instead of summaries with extract_stack)
1165+ # to get all the information about the frames
11641166 full_stack = traceback .extract_stack ()
1167+
1168+ # TODO: add an option "add_full_stack" to the client options to add the full stack to the event (defaults to True)
1169+
1170+ # TODO: add an option "max_stack_frames" to the client options to limit the number of stack frames (defaults to 50?)
1171+
11651172 return (
11661173 {
11671174 "level" : "error" ,
You can’t perform that action at this time.
0 commit comments