Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
raise asyncio.CancelledError out instead of supressing it.
  • Loading branch information
yijxie committed Jul 31, 2019
commit dd1d7ae67f7c4cfc0d34cb8e18555204a349cbb9
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def _create_eventhub_exception(exception):


async def _handle_exception(exception, retry_count, max_retries, closable, timeout_time=None):
if isinstance(exception, asyncio.CancelledError):
raise
try:
name = closable.name
except AttributeError:
Expand Down