From 913e3712d09bd060e541267ceb190e037973331e Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 30 Nov 2017 20:27:22 +0100 Subject: [PATCH] core: specify profile on NotFound exception --- src/core/sat_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sat_main.py b/src/core/sat_main.py index be2978e0..cc896e08 100644 --- a/src/core/sat_main.py +++ b/src/core/sat_main.py @@ -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)