From 777f80815434ce62653db241ac2c35401919ba6c Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Tue, 23 Jul 2024 15:42:29 -0400 Subject: [PATCH] fix: set disable error logging when completing sdk server config Signed-off-by: Donnie Adams --- pkg/sdkserver/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/sdkserver/server.go b/pkg/sdkserver/server.go index b1dffdef..4ef28267 100644 --- a/pkg/sdkserver/server.go +++ b/pkg/sdkserver/server.go @@ -154,6 +154,7 @@ func complete(opts ...Options) Options { result.Options = gptscript.Complete(result.Options, opt.Options) result.ListenAddress = types.FirstSet(opt.ListenAddress, result.ListenAddress) result.Debug = types.FirstSet(opt.Debug, result.Debug) + result.DisableServerErrorLogging = types.FirstSet(opt.DisableServerErrorLogging, result.DisableServerErrorLogging) } if result.ListenAddress == "" {