parent
05928b1497
commit
4356e951e1
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class OrganizationsBackend(BaseBackend):
|
|||
def validate_parent_id(self, parent_id):
|
||||
try:
|
||||
self.get_organizational_unit_by_id(parent_id)
|
||||
except RESTError as e:
|
||||
except RESTError:
|
||||
raise RESTError(
|
||||
'ParentNotFoundException',
|
||||
"You specified parent that doesn't exist."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue