Skip to content

Commit aad38f7

Browse files
Update bindings/sftp/sftp.go
Co-authored-by: Sam <[email protected]> Signed-off-by: Javier Aliaga <[email protected]>
1 parent 3f7234b commit aad38f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/sftp/sftp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (sftp *Sftp) create(_ context.Context, req *bindings.InvokeRequest) (*bindi
176176
defer func() {
177177
closeErr := file.Close()
178178
if closeErr != nil {
179-
sftp.logger.Errorf("sftp binding error: error close file: %s", closeErr)
179+
sftp.logger.Errorf("sftp binding error: error close file: %w", closeErr)
180180
}
181181
}()
182182

0 commit comments

Comments
 (0)