Fixed #22882 -- Coerced to command errors to `str`