mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-03 21:43:09 +00:00
chore: log stacktrace when repeated experiment fail
This commit is contained in:
parent
72a6d2d6e1
commit
83fc90343c
@ -136,9 +136,9 @@ class IteratedExperiment(Experiment, Generic[TExperiment]):
|
||||
try:
|
||||
experiment.run()
|
||||
self.successful_runs += 1
|
||||
except Exception as ex:
|
||||
except Exception:
|
||||
self.failed_runs += 1
|
||||
logger.error(ex)
|
||||
logger.exception("Error running experiment repetition")
|
||||
|
||||
if self.failed_runs > 0 and self.raise_when_failures:
|
||||
raise RuntimeError(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user