mirror of
https://github.com/containers/podman.git
synced 2025-07-02 16:57:24 +08:00
pkg/bindings: wrap image push decode error
If this fails we should know exactly what failed. The underlying connection error might just be unexpected EOF or somthing which is not helpful. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -74,7 +74,7 @@ LOOP:
|
||||
if errors.Is(err, io.EOF) {
|
||||
break
|
||||
}
|
||||
return err
|
||||
return fmt.Errorf("failed to decode message from stream: %w", err)
|
||||
}
|
||||
|
||||
select {
|
||||
|
Reference in New Issue
Block a user