File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ def is_valid_url(url):
72
72
r .raise_for_status ()
73
73
except requests .exceptions .Timeout :
74
74
raise ImportException ("Timed out" )
75
- except Exception :
75
+ except Exception as e :
76
+ logger .exception (e )
76
77
raise ImportException ("The provided URL is not reachable" )
77
78
return True
78
79
@@ -284,4 +285,4 @@ def overwrite_geonode_resource(
284
285
logger .warning (
285
286
"The resource does not exists, please use 'create_geonode_resource' to create one"
286
287
)
287
- return
288
+ return
Original file line number Diff line number Diff line change @@ -152,7 +152,8 @@ def generate_resource_payload(
152
152
.encode ("utf-8" , "ignore" )
153
153
.decode ("utf-8" )
154
154
.replace ("." , "" )
155
- .replace ("/" , "" ),
155
+ .replace ("/" , "" )
156
+ .replace (":" , "" ),
156
157
ptype = "gxp_wmscsource" ,
157
158
ows_url = _exec .input_params .get ("ows_url" ),
158
159
)
You can’t perform that action at this time.
0 commit comments