mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
Better handle backtest errors
This commit is contained in:
parent
0f878daa98
commit
75bc5809a9
|
@ -118,7 +118,7 @@ async def api_start_backtest( # noqa: C901
|
||||||
|
|
||||||
logger.info("Backtest finished.")
|
logger.info("Backtest finished.")
|
||||||
|
|
||||||
except (OperationalException, DependencyException) as e:
|
except (Exception, OperationalException, DependencyException) as e:
|
||||||
logger.exception(f"Backtesting caused an error: {e}")
|
logger.exception(f"Backtesting caused an error: {e}")
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user