Skip to content

Commit 1a94d07

Browse files
committed
fix: handle_exceptions is not a valid parameter
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent 91a6c42 commit 1a94d07

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

library/network_connections.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2697,9 +2697,17 @@ def forget_nm_connection(self, path):
26972697
"1",
26982698
path,
26992699
],
2700-
handle_exceptions=False,
2700+
)
2701+
self.log_info(
2702+
0,
2703+
"forget_nm_connection: rc=%d, stdout='%s', stderr='%s'"
2704+
% (_rc, _stdout, _stderr),
27012705
)
27022706
except Exception:
2707+
self.log_error(
2708+
0,
2709+
"forget_nm_connection: exception: %s" % (traceback.format_exc()),
2710+
)
27032711
pass
27042712

27052713
def run_action_absent(self, idx):

0 commit comments

Comments
 (0)