Skip to content

Commit 78b3305

Browse files
committed
fix: remove unused exception variable
1 parent 1c5999d commit 78b3305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mcp_http_error_handling_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async def search(query: str) -> str:
9696
return json.dumps(
9797
{"error": {"message": str(e), "tool": "search", "type": "upstream_error"}}
9898
)
99-
except Exception as e:
99+
except Exception:
100100
# Programming errors still raise
101101
raise
102102

0 commit comments

Comments
 (0)