Skip to content

Commit

Permalink
Merge pull request #25 from jlowin/exception
Browse files Browse the repository at this point in the history
print exception when server can't start
  • Loading branch information
jlowin authored Dec 1, 2024
2 parents d27f09f + 7a2dfff commit a901491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastmcp/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def run(

except Exception as e:
logger.error(
"Failed to run server",
f"Failed to run server: {e}",
extra={
"file": str(file),
"error": str(e),
Expand Down

0 comments on commit a901491

Please sign in to comment.