[#2367] Fix string listing in errors.