diff --git a/utils/ServiceLayerUtils.js b/utils/ServiceLayerUtils.js index 39125ce1c..9a22b77fa 100644 --- a/utils/ServiceLayerUtils.js +++ b/utils/ServiceLayerUtils.js @@ -393,7 +393,7 @@ const ServiceLayerUtils = { } else { ServiceLayerUtils.getCapabilities(serviceUrl, {SERVICE: 'WMS', REQUEST: 'GetCapabilities'}).then(resolve); } - }).catch(e => { + }).catch(() => { ServiceLayerUtils.getCapabilities(serviceUrl, {SERVICE: 'WMS', REQUEST: 'GetCapabilities'}).then(resolve).catch(reject); }); });