Index: mapwms.c =================================================================== --- a/mapwms.c (revision 10869) +++ b/mapwms.c (working copy) @@ -739,8 +739,8 @@ strcasecmp(wms_exception_format, "XML") != 0) { msSetError(MS_WMSERR, - "Invalid format for the EXCEPTIONS parameter.", - "msWMSLoadGetMapParams()"); + "Invalid format %s for the EXCEPTIONS parameter.", + "msWMSLoadGetMapParams()", wms_exception_format); return msWMSException(map, nVersion, "InvalidFormat", wms_exception_format); } }