Skip to content

Commit d90c191

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

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

library/network_connections.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2697,9 +2697,16 @@ 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'" % (_rc, _stdout, _stderr),
27012704
)
27022705
except Exception:
2706+
self.log_error(
2707+
0,
2708+
"forget_nm_connection: exception: %s" % (traceback.format_exc()),
2709+
)
27032710
pass
27042711

27052712
def run_action_absent(self, idx):

0 commit comments

Comments
 (0)