diff --git a/sat_frontends/quick_frontend/quick_app.py b/sat_frontends/quick_frontend/quick_app.py index 8b66b7a2..3c6df620 100644 --- a/sat_frontends/quick_frontend/quick_app.py +++ b/sat_frontends/quick_frontend/quick_app.py @@ -565,7 +565,11 @@ class QuickApp(object): @param callback: callback to remove """ assert type_ in C.LISTENERS - self._listeners[type_].pop(callback) + try: + self._listeners[type_].pop(callback) + except KeyError: + log.error( + f"Trying to remove an inexisting listener (type = {type_}): {callback}") def callListeners(self, type_, *args, **kwargs): """Call the methods which listen type_ event. If a profiles filter has