From 2836e00b5e4370dc55f250dd89e65b7852907b0f Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sat, 20 Aug 2022 20:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BC=82=E5=B8=B8=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=BE=93=E5=87=BA;=20fix=20#9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj | 2 +- src/N_m3u8DL-RE/Directory.Build.props | 2 +- src/N_m3u8DL-RE/Program.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj b/src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj index d95cde4..0007c36 100644 --- a/src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj +++ b/src/N_m3u8DL-RE.Common/N_m3u8DL-RE.Common.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/N_m3u8DL-RE/Directory.Build.props b/src/N_m3u8DL-RE/Directory.Build.props index 0c1d38f..038218e 100644 --- a/src/N_m3u8DL-RE/Directory.Build.props +++ b/src/N_m3u8DL-RE/Directory.Build.props @@ -7,7 +7,7 @@ full link true - false + true zh-CN;zh-TW;en-US 7.0.0-* diff --git a/src/N_m3u8DL-RE/Program.cs b/src/N_m3u8DL-RE/Program.cs index 0321d7e..2134729 100644 --- a/src/N_m3u8DL-RE/Program.cs +++ b/src/N_m3u8DL-RE/Program.cs @@ -242,7 +242,7 @@ namespace N_m3u8DL_RE } catch (Exception ex) { - string msg = ex.Message; + string msg = Logger.LogLevel == LogLevel.DEBUG ? ex.ToString() : ex.Message; #if DEBUG msg = ex.ToString(); #endif