Skip to content

Commit

Permalink
fix missed error exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzhak committed Mar 23, 2017
1 parent 8025018 commit b676964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions botstory/integrations/aiohttp/aiohttp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import aiohttp
from aiohttp import errors, web
from aiohttp import client_exceptions, web
import asyncio
import logging
import json as _json
Expand Down Expand Up @@ -146,7 +146,7 @@ async def method(self, method_type, session, url, **kwargs):
url,
**kwargs,
)
except errors.ClientOSError as err:
except client_exceptions.ClientOSError as err:
raise common_errors.HttpRequestError(
code=400,
message='{} {}'.format(err.errno, err.strerror),
Expand Down

0 comments on commit b676964

Please sign in to comment.