From 2cf6c14266b168c7936d94ed4b5c42430fead1cf Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 15 Jun 2019 12:48:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor(Gitee):=20=E6=9B=B4=E6=96=B0=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E6=8D=95=E8=8E=B7=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment comment commit:6de2b520da5b2a9316bcf4c7b04da620c32a304e #Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=IXXPS --- Bootstrap.Admin/Controllers/Api/GiteeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Controllers/Api/GiteeController.cs b/Bootstrap.Admin/Controllers/Api/GiteeController.cs index f4a58511..2c7c50b8 100644 --- a/Bootstrap.Admin/Controllers/Api/GiteeController.cs +++ b/Bootstrap.Admin/Controllers/Api/GiteeController.cs @@ -116,7 +116,7 @@ namespace Bootstrap.Admin.Controllers.Api var resq = await requestUrl(); ret = callback(resq); } - catch (TaskCanceledException) + catch (OperationCanceledException) { }