From 87d718ca72f19f468f5d69f7b00ef9e54f850e34 Mon Sep 17 00:00:00 2001 From: Riku Virtanen Date: Wed, 11 Dec 2024 16:57:56 +0200 Subject: [PATCH] CodeRabbit fixes --- .../Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs b/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs index 33f0513..9c2b8ce 100644 --- a/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs +++ b/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs @@ -191,7 +191,7 @@ private void PutDestinationFile(VerifyOptions verifyOptions, bool removeExisting { // Log the exception and decide whether to proceed or rethrow _logger.NotifyError(_batchContext, $"Failed to delete corrupted file '{_destinationFileDuringTransfer}': {ex.Message}", ex); - throw ex; + throw; } }