summaryrefslogtreecommitdiff
path: root/flup
diff options
context:
space:
mode:
Diffstat (limited to 'flup')
-rw-r--r--flup/server/threadpool.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/flup/server/threadpool.py b/flup/server/threadpool.py
index 28ec12f..a61885d 100644
--- a/flup/server/threadpool.py
+++ b/flup/server/threadpool.py
@@ -100,7 +100,12 @@ class ThreadPool(object):
self._lock.release()
- job.run()
+ try:
+ job.run()
+ except:
+ # FIXME: This should really be reported somewhere.
+ # But we can't simply report it to stderr because of fcgi
+ pass
self._lock.acquire()