Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Jul 14, 2019
1 parent 450802e commit 1ede01c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cirrina/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ async def _wrap(request):
try:
self.create_context_func(request.cirrina)
except Exception as exc:
self.logger.exeption(exc)
self.logger.exception(exc)

ret = None
try:
Expand All @@ -340,13 +340,13 @@ def blocking_wrappper():
else:
ret = (await func(request))
except Exception as exc:
self.logger.exeption(exc)
self.logger.exception(exc)

if self.destroy_context_func:
try:
self.destroy_context_func(request.cirrina)
except Exception as exc:
self.logger.exeption(exc)
self.logger.exception(exc)
return ret
return _wrap

Expand Down

0 comments on commit 1ede01c

Please sign in to comment.