Skip to content

Commit 7379223

Browse files
committed
Server test: URLError has no code
1 parent e849cad commit 7379223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/python/qgis_local_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def get_map(self, params, browser=False):
495495
except urllib2.URLError as resp:
496496
raise ServerProcessError(
497497
'Web/FCGI Process Request URLError',
498-
'Cound not connect to process: ' + str(resp.code),
498+
'Cound not connect to process',
499499
resp.reason
500500
)
501501
else:

0 commit comments

Comments
 (0)