Skip to content

Commit 3d40ad9

Browse files
committed
update error messages in check_pyats_device_connectivity for clarity
1 parent 7155be3 commit 3d40ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

catalyst_sdwan_lab/tasks/backup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def check_pyats_device_connectivity(
111111
else:
112112
exit(
113113
f"Could not login to {node_label} using admin username and default or SD-WAN Manager password. "
114-
f"Please fix admin user password and rerun the script."
114+
f"Verify SSH to CML IP works, validate credentials to {node_label} and rerun the script."
115115
)
116116
except unicon.core.errors.ConnectionError as conn_err:
117117
current_exception = conn_err
@@ -134,7 +134,7 @@ def check_pyats_device_connectivity(
134134
else:
135135
exit(
136136
f"Could not login to {node_label} using admin username and default or SD-WAN Manager password. "
137-
f"Please fix admin user password and rerun the script."
137+
f"Verify SSH to CML IP works, validate credentials to {node_label} and rerun the script."
138138
)
139139
# Move to the next cause in the chain
140140
current_exception = getattr(current_exception, "__cause__", None)

0 commit comments

Comments
 (0)