From d73197b89ae8b22cace7069e86f8a66590522bbc Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Wed, 4 Jul 2012 14:31:58 -0400 Subject: [PATCH] Added traceback log to section where a general exception can be caught --- python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py b/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py index 2ce2e0c78..274dc26d0 100644 --- a/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py +++ b/python_apps/media-monitor/airtimefilemonitor/airtimenotifier.py @@ -191,6 +191,7 @@ class AirtimeNotifier(Notifier): except Exception, e: self.logger.error("failed updating filepath: %s ", event['filepath']) self.logger.error('Exception: %s', e) + self.logger.error('Traceback: %s', traceback.format_exc()) #define which directories the pyinotify WatchManager should watch. def watch_directory(self, directory):