This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 2f814806d09964ca3d8a0157e72ed14bfde08797
Author: Daniel Gruno <[email protected]>
AuthorDate: Thu Sep 10 10:26:21 2020 +0200

    debug print if exception
---
 server/plugins/offloader.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/plugins/offloader.py b/server/plugins/offloader.py
index 0ee9823..0f6fea1 100644
--- a/server/plugins/offloader.py
+++ b/server/plugins/offloader.py
@@ -44,5 +44,7 @@ class ExecutorPool:
         if DEBUG:
             print("[Runner] Done with task %r, put runner back in queue" % 
func)
         if isinstance(rv, BaseException):
+            if DEBUG:
+                print("[Runner] Task %r encountered an exception during run." 
% func)
             raise rv
         return rv

Reply via email to