diff --git a/erp5/util/benchmark/process.py b/erp5/util/benchmark/process.py
index fd20e6bbe75a7473d3a8ed41780bf89483bffa08..688e3c0e41765470f61f5e9f2a2574af9cf79c91 100644
--- a/erp5/util/benchmark/process.py
+++ b/erp5/util/benchmark/process.py
@@ -75,10 +75,9 @@ class BenchmarkProcess(multiprocessing.Process):
 
       try:
         target(result, self._browser)
-      except BaseException, e:
-        if isinstance(e, StopIteration):
-          raise
-
+      except StopIteration:
+        raise
+      except Exception, e:
         msg = "%s: %s" % (target, traceback.format_exc())
 
         try: