Skip to content

Commit

Permalink
Merge pull request #1 from PrashantMohta/patch-1
Browse files Browse the repository at this point in the history
Make error message clearer
  • Loading branch information
SFGrenade authored Oct 6, 2024
2 parents 8cec166 + fd90882 commit b02f2c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private static async Task<bool> CheckLink(Manifest m, Link link)
if (shasum == link.SHA256.ToLowerInvariant())
return true;

WriteError("Check", $"Hash mismatch of {m.Name} in link {link.URL}. Expected: {link.SHA256}, got {shasum}");
WriteError("Check", $"Hash mismatch of {m.Name} in link {link.URL}. Expected value from modlinks: {link.SHA256}, Actual value: {shasum}");

return false;
}
Expand Down Expand Up @@ -104,4 +104,4 @@ internal static async Task<int> Main(string[] args)
private static void WriteError(string title, string message) =>
Console.WriteLine($"::error title={title}::{message}");
}
}
}

0 comments on commit b02f2c6

Please sign in to comment.