diff --git a/pkg/morph/client/multi.go b/pkg/morph/client/multi.go index 4b85365685..e7caca6684 100644 --- a/pkg/morph/client/multi.go +++ b/pkg/morph/client/multi.go @@ -94,6 +94,11 @@ func (x *multiClient) iterateClients(f func(*Client) error) error { return nil } + // we dont need to continue the process after the logical error was encountered + if errNeoFS := unwrapNeoFSError(err); errNeoFS != nil { + return errNeoFS + } + // set first error once if firstErr == nil { firstErr = err