From 98c5e92d4f2637d2ab507b07b5a480aec70a533d Mon Sep 17 00:00:00 2001 From: James Pickett Date: Tue, 28 Jan 2025 06:54:13 -0800 Subject: [PATCH] secure enclave - dont set no console user as span error (#2064) --- ee/secureenclaverunner/secureenclaverunner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/secureenclaverunner/secureenclaverunner.go b/ee/secureenclaverunner/secureenclaverunner.go index ecda1304d..a08cd1682 100644 --- a/ee/secureenclaverunner/secureenclaverunner.go +++ b/ee/secureenclaverunner/secureenclaverunner.go @@ -191,7 +191,7 @@ func (ser *secureEnclaveRunner) currentConsoleUserKey(ctx context.Context) (*ecd "err", err, ) - traces.SetError(span, fmt.Errorf("getting first console user: %w", err)) + span.AddEvent("no_console_user_found") return nil, nil }