Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sftp/exporter/sftp.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func NewExporter(ctx context.Context, opt *connectors.Options, name string, conf

client, err := plakarsftp.Connect(parsed, config)
if err != nil {
fmt.Fprintf(os.Stderr, "SSH connection to %s failed: %s\n", parsed.Host, err)
return nil, err
}

Expand Down
1 change: 1 addition & 0 deletions sftp/importer/sftp.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func NewImporter(appCtx context.Context, opts *connectors.Options, name string,

client, err := plakarsftp.Connect(parsed, config)
if err != nil {
fmt.Fprintf(os.Stderr, "SSH connection to %s failed: %s\n", parsed.Host, err)
return nil, err
}

Expand Down