Skip to content

Commit 9b67317

Browse files
author
Xiao Li
committed
remove error check for unexpected shutdown error, seems no need anymore
1 parent e57e861 commit 9b67317

File tree

1 file changed

+0
-3
lines changed
  • src/diem/testing/miniwallet/app

1 file changed

+0
-3
lines changed

src/diem/testing/miniwallet/app/app.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ async def worker() -> None:
140140
except asyncio.CancelledError:
141141
return
142142
except Exception as e:
143-
if "cannot schedule new futures" in str(e):
144-
# ignore unexpected shutdown RuntimeError
145-
return
146143
self.logger.exception(e)
147144

148145
return asyncio.create_task(worker())

0 commit comments

Comments
 (0)