We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7024bd1 commit b1a5082Copy full SHA for b1a5082
1 file changed
Lib/profiling/sampling/sample.py
@@ -48,7 +48,7 @@ def __init__(self, pid, sample_interval_usec, all_threads, *, mode=PROFILING_MOD
48
opcodes=opcodes, skip_non_matching_threads=skip_non_matching_threads,
49
cache_frames=True, stats=collect_stats
50
)
51
- except Exception as err:
+ except RuntimeError as err:
52
raise SystemExit(err)
53
# Track sample intervals and total sample count
54
self.sample_intervals = deque(maxlen=100)
0 commit comments