From ce892df115f0d73eb7eb5b703fadbc5ce4dff8e2 Mon Sep 17 00:00:00 2001 From: dathlin Date: Fri, 21 Jul 2017 20:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=94=99=E8=AF=AF=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 软件系统浏览器模版/Global.asax.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/软件系统浏览器模版/Global.asax.cs b/软件系统浏览器模版/Global.asax.cs index 4e20116..7ce7e31 100644 --- a/软件系统浏览器模版/Global.asax.cs +++ b/软件系统浏览器模版/Global.asax.cs @@ -16,6 +16,9 @@ namespace 软件系统浏览器模版 FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); + + //错误记录 + AppDomain.CurrentDomain.UnhandledException += ClientsLibrary.UserClient.CurrentDomain_UnhandledException; } } }