Skip to content

Commit

Permalink
Logs more information about the 503.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed Aug 28, 2017
1 parent c1b1efc commit 4084659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pollbot/middlewares.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def handle_404(request, response):


async def handle_500(request, response=None, error=None):
logger.error(error)
logger.exception(error)
return web.json_response({
"status": 503,
"message": "Service currently unavailable"
Expand Down

0 comments on commit 4084659

Please sign in to comment.