Skip to content

Commit

Permalink
Remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed Nov 18, 2021
1 parent b5439d2 commit 5f53a6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions sanic/app.py
Expand Up @@ -775,13 +775,13 @@ async def handle_exception(
if request.stream:
response = request.stream.response
if isinstance(response, BaseHTTPResponse):
await self.dispatch(
"http.lifecycle.response",
inline=True,
context={
"request": request,
"response": response,
},
await self.dispatch(
"http.lifecycle.response",
inline=True,
context={
"request": request,
"response": response,
},
)
await response.send(end_stream=True)
else:
Expand Down
1 change: 0 additions & 1 deletion sanic/errorpages.py
Expand Up @@ -383,7 +383,6 @@ def exception_response(
"""
content_type = None

print("exception_response", fallback)
if not renderer:
# Make sure we have something set
renderer = base
Expand Down

0 comments on commit 5f53a6e

Please sign in to comment.