Skip to content

Commit 193d3f8

Browse files
sbryngelsonclaude
andcommitted
Warn instead of silently swallowing directory restore failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e209e93 commit 193d3f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

toolchain/mfc/test/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ def run_restart(self, targets, gpus):
183183
self.params = orig
184184
try:
185185
self.create_directory()
186-
except Exception:
187-
pass
186+
except Exception as exc:
187+
print(f"Warning: failed to restore test directory: {exc}")
188188

189189
def get_trace(self) -> str:
190190
return self.trace

0 commit comments

Comments
 (0)