# HG changeset patch # User Jeff Hammel # Date 1394173646 28800 # Node ID d9e712cfd098a9e179646d4867ff69376347a29d # Parent aabc968611bcf8bc75e9b8ad793f1a4ec23268c0 STUB: bitsyauth/__init__.py diff -r aabc968611bc -r d9e712cfd098 bitsyauth/__init__.py --- a/bitsyauth/__init__.py Sun Feb 23 17:08:13 2014 -0800 +++ b/bitsyauth/__init__.py Thu Mar 06 22:27:26 2014 -0800 @@ -91,7 +91,13 @@ if self.request.path_info in self.url_lookup(): response = self.make_response() - return response(self.request.environ, start_response) + try: + res = response(self.request.environ, start_response) + return res + except Exception as e: + print (e) + raise + import pdb; pdb.set_trace() # digest auth if 'Authorization' in self.request.headers.keys():