From c35f7d99f7224b786c660daeba20a48c3839359e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 28 Jan 2020 10:18:58 -0500 Subject: [PATCH] Update stripped exceptions to include node While the exception had the node name, in some contexts the exception was processed genericly. --- confluent_server/confluent/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index 9028725c..d964ea0a 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -247,7 +247,7 @@ class ConfluentNodeError(object): def strip_node(self, node): # NOTE(jjohnson2): For single node errors, raise exception to # trigger what a developer of that medium would expect - raise Exception(self.error) + raise Exception('{0}: {1}'.format(self.node, self.error)) class ConfluentResourceUnavailable(ConfluentNodeError):