[livecoding] r132 committed - - Misuse of the logging.Logger.exception method. It needed a message ...

2 views
Skip to first unread message

livec...@googlecode.com

unread,
Feb 11, 2010, 3:17:05 AM2/11/10
to py-livecod...@googlegroups.com
Revision: 132
Author: richard.m.tew
Date: Thu Feb 11 00:16:16 2010
Log: - Misuse of the logging.Logger.exception method. It needed a message
passed to method, and I was not passing it. Therefore if the file change
callback errored, the file change monitoring exited because of its own
error in handling it.
http://code.google.com/p/livecoding/source/detail?r=132

Modified:
/trunk/filechanges/__init__.py

=======================================
--- /trunk/filechanges/__init__.py Tue Jan 19 23:41:57 2010
+++ /trunk/filechanges/__init__.py Thu Feb 11 00:16:16 2010
@@ -54,7 +54,7 @@
try:
self.callback(filePath, added=added, changed=changed,
deleted=deleted)
except:
- logger.exception()
+ logger.exception("Problem executing callback")

def ShouldIgnorePathEntry(self, path):
# By default this concentrates on files, not directories.

Reply all
Reply to author
Forward
0 new messages