core: specify profile on NotFound exception
This commit is contained in:
parent
fbd9737b9a
commit
913e3712d0
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ class SAT(service.Service):
|
|||
try:
|
||||
return self.profiles[profile]
|
||||
except KeyError:
|
||||
raise exceptions.NotFound
|
||||
raise exceptions.NotFound(profile_key)
|
||||
|
||||
def getClients(self, profile_key):
|
||||
"""Convenient method to get list of clients from profile key (manage list through profile_key like C.PROF_KEY_ALL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue