# HG changeset patch
# User Goffi <goffi@goffi.org>
# Date 1512070042 -3600
# Node ID 0199c0bd4c6068dab8e6c87473b11d2fc1da613a
# Parent  30278ea1ca7c6cb3c2deae779d38eabac3d76294
core: specify profile on NotFound exception

diff -r 30278ea1ca7c -r 0199c0bd4c60 src/core/sat_main.py
--- a/src/core/sat_main.py	Sun Nov 19 16:51:39 2017 +0100
+++ b/src/core/sat_main.py	Thu Nov 30 20:27:22 2017 +0100
@@ -454,7 +454,7 @@
         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)