[mcs] Fixes warning
[mcs] Report less internal errors. Fixes #17472