Commits

Erik van Zijst committed ef155f0

Updating version.

Comments (0)

Files changed (2)

dogslow/__init__.py

                     # this is how all stack traces are formatted.
                     extra['culprit'] = '%s in %s' % (module.__name__, frame.f_code.co_name)
                     
-                    # We've got to simply the stack, because raven only accepts
+                    # We've got to simplify the stack, because raven only accepts
                     # a list of 2-tuples of (frame, lineno).
                     # This is a list comprehension split over a few lines.
                     extra['stack'] = [
                 logger.log(log_level, msg, extra=extra)
 
         except Exception:
-            logging.exception('Request watchdog failed')
+            logging.exception('Dogslow failed')
 
     def _is_exempt(self, request):
         """Returns True if this request's URL resolves to a url pattern whose
             if safehasattr(request, 'dogslow'):
                 self.timer.cancel(request.dogslow)
                 del request.dogslow
-        except:
-            logging.exception('Failed to cancel request watchdog')
+        except Exception:
+            logging.exception('Failed to cancel Dogslow timer')
 
     def process_response(self, request, response):
         self._cancel(request)
     ],
     description='A Django middleware that logs tracebacks of slow requests.',
     download_url=('https://bitbucket.org/evzijst/dogslow/downloads/'
-                  'dogslow-0.9.4.tar.gz'),
+                  'dogslow-0.9.5.tar.gz'),
     keywords='django debug watchdog middleware traceback',
     license='GNU LGPL',
     long_description=long_description(),
     name='dogslow',
     packages=['dogslow'],
     url='https://bitbucket.org/evzijst/dogslow',
-    version='0.9.4',
+    version='0.9.5',
 )