Skip to content

Commit 646e49e

Browse files
authored
Merge pull request #86 from DavidGhedini/patch-1
Update capabilities_reader.py
2 parents e996c12 + 16816a9 commit 646e49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_generator/capabilities_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def read_wms_service_capabilities(self, url, service_name, item):
9898
os.makedirs(os.path.dirname(cache_file), exist_ok=True)
9999
with open(cache_file, "w") as fh:
100100
fh.write(document.decode('utf-8'))
101-
except:
101+
except Exception as e
102102
self.logger.debug("Failed to store WMS GetProjectSettings for %s in cache: %s" % (full_url, str(e)))
103103

104104
# parse WMS GetProjectSettings XML

0 commit comments

Comments
 (0)