Skip to content

Commit

Permalink
Altered logging levels.
Browse files Browse the repository at this point in the history
Added new log entry for overall status.
  • Loading branch information
CraigHawker committed Aug 6, 2024
1 parent ef8fd21 commit 7720de0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ClientOperations clientOps
// where the container is recycled and the file is locked.
inaccessibleFileCount++;

this.Logger?.Error(e, $"Cannot add {relPath} to the log download.");
this.Logger?.Warn(e, $"Cannot add {relPath} to the log download.");

// Ensure we don't have a value in the zip for this file.
try { fileEntry?.Delete(); } catch { }
Expand All @@ -142,6 +142,7 @@ ClientOperations clientOps
// If some files weren't accessible then inform the user.
if(inaccessibleFileCount > 0)
{
this.Logger?.Error($"There were {inaccessibleFileCount} files that could not be added to the log download.");
clientOps.ShowMessage
(
string.Format(Resources.Exceptions.Dashboard.LogFileDownloadIncomplete, inaccessibleFileCount)
Expand Down

0 comments on commit 7720de0

Please sign in to comment.