服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-12-25 df5935407576ec130f70fbfa9302c1eafc2b1d82
优化了一些已知问题
已修改1个文件
8 ■■■■ 文件已修改
Tiger.IBusiness/Extensions/ResultExtension.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
        }