diff --git a/skyline/analyzer/analyzer.py b/skyline/analyzer/analyzer.py index d061f8fe..c71c23c6 100644 --- a/skyline/analyzer/analyzer.py +++ b/skyline/analyzer/analyzer.py @@ -852,6 +852,7 @@ def smtp_trigger_alert(alert, metric): anomalous_metrics.sort(key=operator.itemgetter(1)) fh.write('handle_data(%s)' % anomalous_metrics) except: + logger.info(traceback.format_exc()) logger.error( 'error :: failed to write anomalies to %s' % str(filename))