From d4b2ee4662ab3f8dde99727b1927e8fdd438ea6d Mon Sep 17 00:00:00 2001 From: cheche <717840555@qq.com> Date: Fri, 26 Jan 2024 15:34:24 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9F=A5=E8=AF=A2=E5=8D=95=E4=BB=B7?= =?UTF-8?q?=E4=BF=9D=E7=95=99=E4=B8=A4=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Common/Services/Implements/ApkFIileService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.Common/Services/Implements/ApkFIileService.cs b/Src/Dlhis.Common/Services/Implements/ApkFIileService.cs index b8f5a236..b3707341 100644 --- a/Src/Dlhis.Common/Services/Implements/ApkFIileService.cs +++ b/Src/Dlhis.Common/Services/Implements/ApkFIileService.cs @@ -136,9 +136,10 @@ public class ApkFIileService : IApkFIileService return "No file uploaded"; } } - catch (Exception ex) + catch (Exception) { - return $"Error uploading file: {ex.Message}"; + return null; + throw; } }