debug: log URL before API call
All checks were successful
Build and Push Monarch MCP Docker Image / build (push) Successful in 20s
All checks were successful
Build and Push Monarch MCP Docker Image / build (push) Successful in 20s
This commit is contained in:
@@ -303,6 +303,11 @@ async def api_call(method: str, params: str = "{}") -> str:
|
||||
parsed_params = json.loads(params) if params else {}
|
||||
except json.JSONDecodeError as e:
|
||||
return serialize_json({"error": f"Invalid JSON in params: {e}"})
|
||||
|
||||
# Debug: log what URL the client will use
|
||||
from monarchmoney import MonarchMoneyEndpoints
|
||||
logger.info(f"api_call: method={method}, GraphQL URL={MonarchMoneyEndpoints.getGraphQL()}")
|
||||
|
||||
try:
|
||||
result = await method_func(**parsed_params)
|
||||
return serialize_json(result)
|
||||
|
||||
Reference in New Issue
Block a user