Mercurial > hg > bitsyauth
changeset 53:d9e712cfd098
STUB: bitsyauth/__init__.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 06 Mar 2014 22:27:26 -0800 |
parents | aabc968611bc |
children | b39ab92955ef |
files | bitsyauth/__init__.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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():