Skip to content

Commit 7f14738

Browse files
committed
fmt
1 parent bcb6b61 commit 7f14738

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

jupyter_server_documents/outputs/output_processor.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,13 @@ async def output_task(self, msg_type, cell_id, content):
9292
# TODO: The session manager may have multiple notebooks connected to the kernel
9393
# but currently get_session only returns the first. We need to fix this and
9494
# find the notebook with the right cell_id.
95-
kernel_session = await self.session_manager.get_session(kernel_id=self.parent.parent.kernel_id)
95+
kernel_session = await self.session_manager.get_session(
96+
kernel_id=self.parent.parent.kernel_id
97+
)
9698
except Exception as e:
97-
self.log.error(f"An exception occurred when processing output for cell {cell_id}")
99+
self.log.error(
100+
f"An exception occurred when processing output for cell {cell_id}"
101+
)
98102
self.log.exception(e)
99103
return
100104
else:

0 commit comments

Comments
 (0)