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