mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 04:54:17 +02:00
add exc_info to fastmcp run
This commit is contained in:
parent
887e72b39b
commit
a2f710fa9d
1 changed files with 2 additions and 0 deletions
|
|
@ -504,6 +504,7 @@ async def run(
|
|||
except subprocess.CalledProcessError as e:
|
||||
logger.error(
|
||||
f"Failed to run: {e}",
|
||||
exc_info=True,
|
||||
extra={
|
||||
"server_spec": server_spec,
|
||||
"error": str(e),
|
||||
|
|
@ -528,6 +529,7 @@ async def run(
|
|||
except Exception as e:
|
||||
logger.error(
|
||||
f"Failed to run: {e}",
|
||||
exc_info=True,
|
||||
extra={
|
||||
"server_spec": server_spec,
|
||||
"error": str(e),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue