We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ebe6b commit 5f71eaaCopy full SHA for 5f71eaa
ipykernel/kernelbase.py
@@ -440,11 +440,14 @@ async def _execute_request_handler(self, receive_stream):
440
async with receive_stream:
441
async for handler, (socket, idents, msg) in receive_stream:
442
try:
443
+ if self._aborting:
444
+ await self._send_abort_reply(socket, msg, idents)
445
+ continue
446
result = handler(socket, idents, msg)
447
self.set_parent(idents, msg, channel="shell")
448
if inspect.isawaitable(result):
449
await result
- except Exception as e:
450
+ except BaseException as e:
451
self.log.exception("Execute request", exc_info=e)
452
453
async def process_shell(self, socket, send_stream):
0 commit comments