diff --git a/orchestra/contrib/resources/backends.py b/orchestra/contrib/resources/backends.py index 68fe33bc..cb78b2b6 100644 --- a/orchestra/contrib/resources/backends.py +++ b/orchestra/contrib/resources/backends.py @@ -88,7 +88,8 @@ class ServiceMonitor(ServiceBackend): def execute(self, *args, **kwargs): log = super(ServiceMonitor, self).execute(*args, **kwargs) - self.store(log) + if log.state == BackendLog.SUCCESS: + self.store(log) return log @classmethod