X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=blobdiff_plain;f=src%2Futil%2Fgo_utils.py;h=97d671c6c639d5ac83eba0032e9bc78e5e6db7a3;hp=d0665421b4e2e57700cd7dba1d18117884fb6df3;hb=7c7cf777ed5a70550f8a7becca6a81515fb1e4b6;hpb=66b1322f8e0ff350d13705f90a8784d1b65e9326 diff --git a/src/util/go_utils.py b/src/util/go_utils.py index d066542..97d671c 100644 --- a/src/util/go_utils.py +++ b/src/util/go_utils.py @@ -191,7 +191,7 @@ class AsyncPool(object): result = func(*args, **kwds) isError = False except Exception, e: - _moduleLogger.error("Error, passing it back to the main thread") + _moduleLogger.exception("Error, passing it back to the main thread") result = e isError = True self.__workQueue.task_done() @@ -221,7 +221,7 @@ class AsyncLinearExecution(object): @misc.log_exception(_moduleLogger) def on_success(self, result): - _moduleLogger.debug("Processing success for: %r", self._func) + #_moduleLogger.debug("Processing success for: %r", self._func) try: trampoline, args, kwds = self._run.send(result) except StopIteration, e: @@ -237,7 +237,7 @@ class AsyncLinearExecution(object): @misc.log_exception(_moduleLogger) def on_error(self, error): - _moduleLogger.debug("Processing error for: %r", self._func) + #_moduleLogger.debug("Processing error for: %r", self._func) try: trampoline, args, kwds = self._run.throw(error) except StopIteration, e: