diff --git a/freqtrade/analyze.py b/freqtrade/analyze.py index d586077db..733146e11 100644 --- a/freqtrade/analyze.py +++ b/freqtrade/analyze.py @@ -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 diff --git a/freqtrade/misc.py b/freqtrade/misc.py index 9f414a72f..900aa8763 100644 --- a/freqtrade/misc.py +++ b/freqtrade/misc.py @@ -57,8 +57,8 @@ def load_config(path: str) -> Dict: try: validate(conf, CONF_SCHEMA) return conf - except ValidationError: - logger.fatal('Configuration is not valid! See config.json.example') + except ValidationError as ex: + logger.fatal('Invalid configuration. See config.json.example. Reason: %s', ex) raise ValidationError( best_match(Draft4Validator(CONF_SCHEMA).iter_errors(conf)).message )