fix(mcp): report missing ffmpeg distinctly from missing browser#40867
Conversation
The MCP launch error handler was rewriting any `Executable doesn't exist` error into `Browser "<channel>" is not installed`, but the registry uses the same prefix for ffmpeg too. When `recordVideo` was enabled and ffmpeg was missing, users were told to install a browser that was already there. Disambiguate the rewrite by the executable path so ffmpeg gets its own message pointing at `install-browser ffmpeg`. Fixes: microsoft#40862
Test results for "MCP"9 failed 7094 passed, 1113 skipped Merge workflow run. |
Summary
Executable doesn't existerror intoBrowser "<channel>" is not installed, but the registry uses the same prefix for ffmpeg. WithrecordVideoenabled and ffmpeg missing, users were told to install a browser that was already there.install-browser ffmpeg.Fixes #40862