From 191de74baea1adb97ed9774f37c67915b8d8b3ec Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Tue, 15 May 2012 17:36:33 -0400 Subject: [PATCH] CC-3811: Error found in Media Monitor and Apache's log about Media Monitor try to store recorded file --- .../media-monitor/airtimefilemonitor/airtimeprocessevent.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py index 48d772346..dc10b8a85 100644 --- a/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py +++ b/python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py @@ -127,7 +127,10 @@ class AirtimeProcessEvent(ProcessEvent): del self.create_dict[event.pathname] self.handle_created_file(event.dir, event.pathname, event.name) except KeyError, e: - self.logger.error("%s does not exist in create_dict", event.pathname) + pass + #self.logger.warn("%s does not exist in create_dict", event.pathname) + #Uncomment the above warning when we fix CC-3830 for 2.1.1 + def handle_created_file(self, dir, pathname, name): if not dir: