Skip to content

Commit b62ae7d

Browse files
committed
fix formatting
1 parent d1ef07a commit b62ae7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

robyn/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ async def handle_mcp_request(request):
412412
# Parse JSON request - try multiple approaches
413413
try:
414414
request_data = request.json()
415-
except:
415+
except (ValueError, TypeError, AttributeError):
416416
# Fallback to parsing body as string
417417
body = request.body
418418
if isinstance(body, str):

0 commit comments

Comments
 (0)