Context
From review of PR #919 (feat(mcp): catalog/ PTC-Lisp namespace with 4 builtins).
Problem
In lib/ptc_runner/lisp/eval/catalog_builtins.ex around line 323, all_server_info/1 calls GenServer.call(registry, :all_routings) directly without a try/catch :exit guard. The similar Catalog.configured_entries/1 wraps the same call pattern in try/catch :exit, _ -> %{}.
Fix
Add the same defensive pattern from Catalog.configured_entries to all_server_info/1 for consistency, or add a comment explaining why it's safe to skip it here.
Context
From review of PR #919 (feat(mcp): catalog/ PTC-Lisp namespace with 4 builtins).
Problem
In
lib/ptc_runner/lisp/eval/catalog_builtins.exaround line 323,all_server_info/1callsGenServer.call(registry, :all_routings)directly without atry/catch :exitguard. The similarCatalog.configured_entries/1wraps the same call pattern intry/catch :exit, _ -> %{}.Fix
Add the same defensive pattern from
Catalog.configured_entriestoall_server_info/1for consistency, or add a comment explaining why it's safe to skip it here.