diff --git a/internal/state/state.go b/internal/state/state.go index 6b0ecd1..63406b8 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -254,7 +254,6 @@ The journal entry at position %d was: - In the user code: type: %T, message: %s - In the replayed messages: type: %T, message %s`, typ.entryIndex, typ.expectedEntry, string(expected), typ.actualEntry, string(actual)), - Description: string(debug.Stack()), RelatedEntryIndex: &typ.entryIndex, RelatedEntryType: wire.MessageType(typ.actualEntry).UInt32(), }, @@ -270,7 +269,6 @@ The journal entry at position %d was: ErrorMessage: protocol.ErrorMessage{ Code: uint32(errors.ErrProtocolViolation), Message: typ.err.Error(), - Description: string(debug.Stack()), RelatedEntryIndex: &typ.entryIndex, RelatedEntryType: wire.MessageType(typ.entry).UInt32(), }, @@ -284,7 +282,6 @@ The journal entry at position %d was: ErrorMessage: protocol.ErrorMessage{ Code: uint32(restate.ErrorCode(typ.err)), Message: typ.err.Error(), - Description: string(debug.Stack()), RelatedEntryIndex: &typ.entryIndex, RelatedEntryType: wire.AwakeableEntryMessageType.UInt32(), }, @@ -314,9 +311,8 @@ The journal entry at position %d was: // don't check for error here, most likely we will fail to send if we are in such a bad state _ = m.protocol.Write(wire.ErrorMessageType, &wire.ErrorMessage{ ErrorMessage: protocol.ErrorMessage{ - Code: uint32(restate.ErrorCode(typ.Err)), - Message: fmt.Sprintf("problem reading completions: %v", typ.Err), - Description: string(debug.Stack()), + Code: uint32(restate.ErrorCode(typ.Err)), + Message: fmt.Sprintf("problem reading completions: %v", typ.Err), }, }) }