From d6772699996fe2974313a40d028c79ad28dfa017 Mon Sep 17 00:00:00 2001 From: Elivo Date: Wed, 22 Oct 2025 13:28:42 +0800 Subject: [PATCH] =?UTF-8?q?ApiOptions=EF=BC=9A=E9=BB=98=E8=AE=A4=E5=90=AF?= =?UTF-8?q?=E7=94=A8=20Exception=20=E8=AF=A6=E6=83=85=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apewer/Web/ApiOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apewer/Web/ApiOptions.cs b/Apewer/Web/ApiOptions.cs index 9fd1c25..3e8b3ef 100644 --- a/Apewer/Web/ApiOptions.cs +++ b/Apewer/Web/ApiOptions.cs @@ -94,8 +94,8 @@ namespace Apewer.Web public bool WithDuration { get; set; } = false; /// 允许响应中包含 Exception 对象的属性。 - /// 默认值:不允许。 - public bool WithException { get; set; } = false; + /// 默认值:允许。 + public bool WithException { get; set; } = true; /// 允许输出 Application 列表时包含模块名称。 /// 默认值:不包含。