Minor bugfix for exception mime type