mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 18:43:04 +00:00
log exceptions, catch *all* exceptions when analysing ticker
This commit is contained in:
@@ -144,6 +144,9 @@ def get_signal(pair: str, signal: SignalType) -> bool:
|
||||
except ValueError as ex:
|
||||
logger.warning('Unable to analyze ticker for pair %s: %s', pair, str(ex))
|
||||
return False
|
||||
except Exception as ex:
|
||||
logger.exception('Unexpected error when analyzing ticker for pair %s: %s', pair, str(ex))
|
||||
return False
|
||||
|
||||
if dataframe.empty:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user