Skip to content

Commit 9afc7c0

Browse files
committed
better exceptions
1 parent 4b2cfad commit 9afc7c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/turboblast/blaster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def submit_chunk_with_retry(
217217
)
218218
return jobs
219219

220-
except Exception as exc:
220+
except (OSError, RuntimeError, ValueError, TypeError) as exc:
221221
# Catch all exceptions during submission to enable retry logic.
222222
# Transient failures (network, Slurm congestion, etc.) can raise
223223
# various exception types. We preserve the last exception to

0 commit comments

Comments
 (0)