File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -253,13 +253,16 @@ jobs:
253253 try:
254254 mcp_list = json.loads(mcp_versions) if mcp_versions else []
255255 fastmcp_list = json.loads(fastmcp_versions) if fastmcp_versions else []
256- except:
256+ print(f'Successfully parsed {len(mcp_list)} MCP versions and {len(fastmcp_list)} FastMCP versions')
257+ except Exception as e:
258+ print(f'Warning: Could not parse version lists: {e}')
257259 mcp_list = []
258260 fastmcp_list = []
259261
260262 # Format version lists
261263 mcp_versions_html = '<br>'.join([f' • MCP {v}' for v in mcp_list]) if mcp_list else 'No versions tested'
262264 fastmcp_versions_html = '<br>'.join([f' • FastMCP {v}' for v in fastmcp_list]) if fastmcp_list else 'No versions tested'
265+ print(f'Formatted HTML lists with {len(mcp_list)} MCP and {len(fastmcp_list)} FastMCP versions')
263266
264267 email_html = f'''
265268 <h2>🚨 MCPCat Compatibility Tests Failed</h2>
Original file line number Diff line number Diff line change @@ -242,7 +242,9 @@ jobs:
242242 try:
243243 mcp_list = json.loads(mcp_prereleases) if mcp_prereleases and has_mcp_prereleases == 'true' else []
244244 fastmcp_list = json.loads(fastmcp_prereleases) if fastmcp_prereleases and has_fastmcp_prereleases == 'true' else []
245- except:
245+ print(f'Successfully parsed {len(mcp_list)} MCP prereleases and {len(fastmcp_list)} FastMCP prereleases')
246+ except Exception as e:
247+ print(f'Warning: Could not parse version lists: {e}')
246248 mcp_list = []
247249 fastmcp_list = []
248250
You can’t perform that action at this time.
0 commit comments