Catch AttributeError in case of incorrect session_id
Change-Id: I310e85b96a8afab3dce3330cbb171b97a2410130 Closes-Bug: 1269749
This commit is contained in:
parent
3e83f2b936
commit
6018a9c554
|
@ -49,7 +49,7 @@ class Controller(object):
|
|||
|
||||
try:
|
||||
result = CoreServices.get_data(environment_id, path, session_id)
|
||||
except (KeyError, ValueError):
|
||||
except (KeyError, ValueError, AttributeError):
|
||||
raise HTTPNotFound
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in New Issue