print more errors if epost fails during tipset state evaluation

This commit is contained in:
whyrusleeping
2019-12-07 17:24:42 +01:00
parent 5bd3dd00b5
commit e6a08784f8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ func (a *StateAPI) stateForTs(ctx context.Context, ts *types.TipSet) (*state.Sta
func (a *StateAPI) StateGetActor(ctx context.Context, actor address.Address, ts *types.TipSet) (*types.Actor, error) {
state, err := a.stateForTs(ctx, ts)
if err != nil {
return nil, err
return nil, xerrors.Errorf("computing tipset state failed: %w", err)
}
return state.GetActor(actor)