diff sat_frontends/bridge/pb.py @ 3063:84bb63e1e4c4

bridge (pb): added missing _generic_errback
author Goffi <goffi@goffi.org>
date Mon, 21 Oct 2019 23:06:30 +0200
parents a1bc34f90fa5
children 2cc2f65379f7
line wrap: on
line diff
--- a/sat_frontends/bridge/pb.py	Sun Oct 20 19:34:26 2019 +0200
+++ b/sat_frontends/bridge/pb.py	Mon Oct 21 23:06:30 2019 +0200
@@ -62,6 +62,9 @@
     def __getattr__(self, name):
         return partial(self.call, name)
 
+    def _generic_errback(self, err):
+        log.error(f"bridge error: {err}")
+
     def remoteCallback(self, result, callback):
         """call callback with argument or None