2021-01-08 13:41:50 +01:00
|
|
|
From 81d0105b0c0464c375070ffbc863a020a67e7965 Mon Sep 17 00:00:00 2001
|
2020-09-08 15:26:08 +02:00
|
|
|
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
|
|
|
|
<psuarezhernandez@suse.com>
|
|
|
|
Date: Wed, 26 Aug 2020 10:24:58 +0100
|
|
|
|
Subject: [PATCH] Do not raise StreamClosedError traceback but only log
|
|
|
|
it (bsc#1175549)
|
|
|
|
|
|
|
|
---
|
|
|
|
salt/transport/ipc.py | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/salt/transport/ipc.py b/salt/transport/ipc.py
|
2021-01-08 13:41:50 +01:00
|
|
|
index f411907da2..5ff0956dde 100644
|
2020-09-08 15:26:08 +02:00
|
|
|
--- a/salt/transport/ipc.py
|
|
|
|
+++ b/salt/transport/ipc.py
|
2021-01-08 13:41:50 +01:00
|
|
|
@@ -688,7 +688,6 @@ class IPCMessageSubscriber(IPCClient):
|
2020-09-08 15:26:08 +02:00
|
|
|
except StreamClosedError as exc:
|
2021-01-08 13:41:50 +01:00
|
|
|
log.trace("Subscriber disconnected from IPC %s", self.socket_path)
|
2020-09-08 15:26:08 +02:00
|
|
|
self._read_stream_future = None
|
|
|
|
- exc_to_raise = exc
|
|
|
|
except Exception as exc: # pylint: disable=broad-except
|
2021-01-08 13:41:50 +01:00
|
|
|
log.error("Exception occurred in Subscriber while handling stream: %s", exc)
|
2020-09-08 15:26:08 +02:00
|
|
|
self._read_stream_future = None
|
|
|
|
--
|
2021-01-08 13:41:50 +01:00
|
|
|
2.29.2
|
2020-09-08 15:26:08 +02:00
|
|
|
|
|
|
|
|