From d9f330b44b96c0f5f04f15112a86e16c18ae9e9c Mon Sep 17 00:00:00 2001 From: jeffyanta Date: Tue, 20 Jan 2026 10:48:47 -0500 Subject: [PATCH] Improve SubmitIntent logging around intentHandler.AllowCreation() --- ocp/rpc/transaction/intent.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ocp/rpc/transaction/intent.go b/ocp/rpc/transaction/intent.go index 27f1cf2..efba543 100644 --- a/ocp/rpc/transaction/intent.go +++ b/ocp/rpc/transaction/intent.go @@ -312,6 +312,10 @@ func (s *transactionServer) SubmitIntent(streamer transactionpb.Transaction_Subm switch err.(type) { case IntentValidationError: log.With(zap.Error(err)).Warn("new intent failed validation") + case IntentDeniedError: + log.With(zap.Error(err)).Warn("new intent was denied") + case StaleStateError: + log.With(zap.Error(err)).Warn("detected a client with stale state") default: log.With(zap.Error(err)).Warn("failure checking if new intent was allowed") }