Error messages are more friendly

[#48698151]