Skip to content

Commit 22cd2db

Browse files
Elevate callback exception log to error
1 parent 8d646e5 commit 22cd2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/shared/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ async def _receive_loop(self) -> None:
421421
notification.root.params.message,
422422
)
423423
except Exception as e:
424-
logging.warning(
424+
logging.error(
425425
"Progress callback raised an exception: %s",
426426
e,
427427
)

0 commit comments

Comments
 (0)