Skip to content

Commit e7962ce

Browse files
committed
improve: add error message when ssh credentials not found
Signed-off-by: Maxime Le Conte des Floris <git@mlcdf.fr>
1 parent e59f792 commit e7962ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/command/tool_ssh.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func (c *SSHCommand) Run(_ []string) int {
4040

4141
credentials, ok := c.Config.SFTPCredentials[link.Hosting]
4242
if !ok {
43+
c.View.Println("Couldn't find credentials for", link.Hosting)
4344
return 1
4445
}
4546

0 commit comments

Comments
 (0)