From 5e1220e4b610dfbcde332d9e316eff66ad0bb971 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 01 一月 2025 21:57:44 +0800 Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024 --- Tiger.IBusiness/Extensions/ResultExtension.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tiger.IBusiness/Extensions/ResultExtension.cs b/Tiger.IBusiness/Extensions/ResultExtension.cs index fc9de71..c71f836 100644 --- a/Tiger.IBusiness/Extensions/ResultExtension.cs +++ b/Tiger.IBusiness/Extensions/ResultExtension.cs @@ -17,7 +17,7 @@ public static Result<T> CatchExceptionWithLog<T>(this Result<T> result, Exception ex, Locale localeMsg) { - result.CatchExceptionWithLog(ex, localeMsg); + result.CatchException(ex, localeMsg); Logger.Default.Fatal(ex, localeMsg.Default()); return result; } @@ -30,7 +30,7 @@ public static Result<T> CatchExceptionWithLog<T>(this Result<T> result, Exception ex, string msg = null) { - result.CatchExceptionWithLog(ex, msg); + result.CatchException(ex, msg); Logger.Default.Fatal(ex, msg); return result; } @@ -43,7 +43,7 @@ public static Result CatchExceptionWithLog(this Result result, Exception ex, Locale localeMsg) { - result.CatchExceptionWithLog(ex, localeMsg); + result.CatchException(ex, localeMsg); Logger.Default.Fatal(ex, localeMsg.Default()); return result; } @@ -56,7 +56,7 @@ public static Result CatchExceptionWithLog(this Result result, Exception ex, string msg = null) { - result.CatchExceptionWithLog(ex, msg); + result.CatchException(ex, msg); Logger.Default.Fatal(ex, msg); return result; } -- Gitblit v1.9.3