Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Replace bare `except:` with explicit `Exception`/`BaseException` branches in `run_flow()`

#21228Merged
Comparing
devin/1774280782-explicit-base-exception-logging
(
f0f0955
) with
main
(
65c7081
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
552 µs552.2 µs
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
113.6 ms112.9 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-37%
6.7 ms10.7 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
×4.1
14 ms3.5 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
112.7 ms113 ms

Commits

Click on a commit to change the comparison range
Base
main
65c7081
-0.02%
Replace bare except with explicit Exception/BaseException branches in run_flow()
f0f0955
5 hours ago
by devin-ai-integration[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs