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; } }