local worker now returns typed error instead of string
This commit is contained in:
parent
00015a21d4
commit
94ceb0355d
2
extern/sector-storage/worker_local.go
vendored
2
extern/sector-storage/worker_local.go
vendored
@ -289,7 +289,7 @@ func (l *LocalWorker) asyncCall(ctx context.Context, sector storage.SectorRef, r
|
||||
log.Errorf("get hostname err: %+v", err)
|
||||
}
|
||||
|
||||
err = xerrors.Errorf("%w [Hostname: %s]", err.Error(), hostname)
|
||||
err = xerrors.Errorf("%w [Hostname: %s]", err, hostname)
|
||||
}
|
||||
|
||||
if doReturn(ctx, rt, ci, l.ret, res, toCallError(err)) {
|
||||
|
Loading…
Reference in New Issue
Block a user