Don't report certain exceptions in nicer tracer,
@@ -1707,6 +1707,7 @@ class NiceTracer(Tracer):
self._custom_stack.append(CustomStackFrame(frame, "call"))
elif event == "exception":
+ if self._is_interesting_exception(frame, arg):
self._fresh_exception = arg
self._register_affected_frame(arg[1], frame)
@@ -1718,6 +1719,7 @@ class NiceTracer(Tracer):
pseudo_event = last_custom_frame.event.replace("before_", "after_").replace(
"_again", ""
)
+ print("handle", pseudo_event, {}, last_custom_frame.node)
self._handle_progress_event(frame, pseudo_event, {}, last_custom_frame.node)
elif event == "return":
