Commit 26336e0f authored by Jérome Perrin's avatar Jérome Perrin

slap: do not ignore errors in initializeConnection

parent a45f21c4
......@@ -848,7 +848,8 @@ class slap:
if not slapgrid_rest_uri:
try:
slapgrid_rest_uri = getHateoasUrl_cache[getHateoasUrl_cache_key] = self._connection_helper.GET('getHateoasUrl')
except:
except NotFoundError, e:
# master does not implement HATEOAS
pass
if slapgrid_rest_uri:
self._hateoas_navigator = SlapHateoasNavigator(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment