Commits

Steve Losh  committed 221d858

Tweak whitespace and logging a bit.

  • Participants
  • Parent commits d0aa56d

Comments (0)

Files changed (1)

File hoptoad/middleware.py

         logger.critical(str(request))
         logger.critical(str(exc_info))
         sys.exit(1)
-    logger.warn("**** Exception occured in request #%s: %s" %
-                (request.requestID, exc_info))
+    logger.warn(
+        "* Exception occured in request #%s: %s" % (request.requestID, exc_info)
+    )
 
 
 class Runnable(threading.Thread):
                 time.sleep(0.5) # TODO: configure for tuning
                 self.pool.poll()
             except KeyboardInterrupt:
-                logger.info("***** Interrupted!")
+                logger.info("* Interrupted!")
                 break
             except NoResultsPending:
                 pass