From 8ee059b6cef495dd3552295f9ecc0056d2c7636a Mon Sep 17 00:00:00 2001 From: Nicholas Gautier Date: Sun, 8 Dec 2024 14:37:21 -0700 Subject: [PATCH] Revised logging in VerifyArchive() #94 --- Scripts/DefaultCompress.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/DefaultCompress.ps1 b/Scripts/DefaultCompress.ps1 index 51f4551c..a936b8c4 100644 --- a/Scripts/DefaultCompress.ps1 +++ b/Scripts/DefaultCompress.ps1 @@ -1183,7 +1183,7 @@ class DefaultCompress "$([Logging]::GetExceptionInfoShort($_.Exception))"); # Generate the initial message - [string] $logMessage = ("Verification process failed; the file with a name of '$($badFileName)' was not found in the " + ` + [string] $logMessage = ("Verification process had failed; the file '$($badFileName)' was not found within the " + ` "archive data file!"); # Generate any additional information that might be useful @@ -1226,7 +1226,7 @@ class DefaultCompress "$([Logging]::GetExceptionInfoShort($_.Exception))"); # Generate the initial message - [string] $logMessage = "Verification process failed; the archive data file structure is malformed."; + [string] $logMessage = "Verification process had failed; the archive data file structure is malformed."; # Generate any additional information that might be useful [string] $logAdditionalMSG = ("Requested file to verify: $($targetFile)`r`n" + ` @@ -1267,7 +1267,7 @@ class DefaultCompress "$([Logging]::GetExceptionInfoShort($_.Exception))"); # Generate the initial message - [string] $logMessage = ("Verification process failed; A general failure occurred while extracting the " + ` + [string] $logMessage = ("Verification process had failed; A general failure occurred while extracting the " + ` "archive data file."); # Generate any additional information that might be useful