Skip to content

Commit

Permalink
IE console has no debug function (closes #183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van den Eijnden committed Oct 27, 2014
1 parent 6bdc71d commit baf500a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wpsclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit baf500a

Please sign in to comment.