diff --git a/lib/OpenLayers/Format/WMC.js b/lib/OpenLayers/Format/WMC.js index 890dcce3f4..9ce9d48b08 100644 --- a/lib/OpenLayers/Format/WMC.js +++ b/lib/OpenLayers/Format/WMC.js @@ -88,7 +88,7 @@ OpenLayers.Format.WMC = OpenLayers.Class({ "v" + version.replace(/\./g, "_") ]; if(!format) { - throw "Can't find a WMS capabilities parser for version " + + throw "Can't find a WMC parser for version " + version; } this.parser = new format(this.options);