diff --git a/eth/eventhandler/handlers.go b/eth/eventhandler/handlers.go index cd0a46ff08..c1a8b5a844 100644 --- a/eth/eventhandler/handlers.go +++ b/eth/eventhandler/handlers.go @@ -156,7 +156,7 @@ func (eh *EventHandler) handleOperatorRemoved(txn basedb.Txn, event *contract.Co err = eh.nodeStorage.DeleteOperatorData(txn, od.ID) if err != nil { - return err + return fmt.Errorf("delete operator data: %w", err) } var modifiedShares []*ssvtypes.SSVShare