Skip to content

Commit

Permalink
Revised logging in VerifyArchive()
Browse files Browse the repository at this point in the history
  • Loading branch information
SibTiger committed Dec 8, 2024
1 parent dad4ea2 commit 8ee059b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scripts/DefaultCompress.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" + `
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8ee059b

Please sign in to comment.