Skip to content

Commit

Permalink
Fix exception message string format (#15176)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjonescz authored Oct 15, 2024
1 parent 8407b00 commit ad64a76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public NupkgInfo CreateNupkgInfo(string path)
}
catch (Exception ex)
{
throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, "Invalid package", path), ex);
throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, "Invalid package: {0}", path), ex);
}
}

Expand Down

0 comments on commit ad64a76

Please sign in to comment.