From baf500ac3f3487294caed5a512e74db399205d33 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Mon, 27 Oct 2014 15:17:14 +0100 Subject: [PATCH] IE console has no debug function (closes #183) --- src/wpsclient.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wpsclient.js b/src/wpsclient.js index b31ec08..2e32308 100644 --- a/src/wpsclient.js +++ b/src/wpsclient.js @@ -238,7 +238,7 @@ wps.process.prototype.execute = function(options) { result = me.formats[i].format.readFeatures(this.responseText); } catch(e) { if (window.console) { - window.console.debug(e); + window.console.error(e); } result = this.responseText; } @@ -640,7 +640,7 @@ wps.client.prototype.getFeatureTypes = function(serverID, callback) { } } else { if (window.console) { - window.console.debug('There was an error loading WFS 1.1.0 GetCapabilities from: ' + server.url); + window.console.error('There was an error loading WFS 1.1.0 GetCapabilities from: ' + server.url); } } callback.call(me, featureTypes); @@ -677,7 +677,7 @@ wps.client.prototype.getCoverages = function(serverID, callback) { } } else { if (window.console) { - window.console.debug('There was an error loading WCS 1.1.0 GetCapabilities from: ' + server.url); + window.console.error('There was an error loading WCS 1.1.0 GetCapabilities from: ' + server.url); } } callback.call(me, coverages);