Add produced media type to output error message