Browse Source

Merge "Identify the gerrit source when logging stream-events errors."

tags/3.6.0
Zuul 5 months ago
parent
commit
710fc6e7ee
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      zuul/driver/gerrit/gerritconnection.py

+ 2
- 1
zuul/driver/gerrit/gerritconnection.py View File

@@ -269,7 +269,8 @@ class GerritWatcher(threading.Thread):
269 269
             if ret and ret not in [-1, 130]:
270 270
                 raise Exception("Gerrit error executing stream-events")
271 271
         except Exception:
272
-            self.log.exception("Exception on ssh event stream:")
272
+            self.log.exception("Exception on ssh event stream with %s:",
273
+                               self.gerrit_connection.connection_name)
273 274
             time.sleep(5)
274 275
         finally:
275 276
             # If we don't close on exceptions to connect we can leak the

Loading…
Cancel
Save