Merge pull request #19 from apache/base-exception

Don't catch BaseException
diff --git a/server/main.py b/server/main.py
index 6449b2e..e14ad5d 100644
--- a/server/main.py
+++ b/server/main.py
@@ -115,7 +115,7 @@
                     )
             # If a handler hit an exception, we need to print that exception somewhere,
             # either to the web client or stderr:
-            except:  # This is a broad exception on purpose!
+            except Exception:  # This is a broad exception on purpose!
                 if session.database:
                     session.database = None
                 exc_type, exc_value, exc_traceback = sys.exc_info()