Skip to content

Commit

Permalink
Make error message more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 15, 2023
1 parent ae361db commit ffc2f54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static HttpResponseMessage RunLegacyIO(string command, string method = "G
if (string.IsNullOrEmpty(shared_interop_secret))
{
#if !DEBUG
throw new InvalidOperationException("Attempted to award medal with no legacy IO secret set");
throw new InvalidOperationException($"Attempted legacy IO call without secret set ({command}");
#endif
return null!;
}
Expand Down

0 comments on commit ffc2f54

Please sign in to comment.