Skip to content

Commit

Permalink
Fixup ArgumentOutOfRangeException (#54161)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkm authored Jun 14, 2021
1 parent 17481fe commit c5708e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static int GetStatusIndex(int status) =>
400 => 12,
404 => 13,
500 => 14,
_ => throw new ArgumentOutOfRangeException()
_ => throw new ArgumentOutOfRangeException(nameof(status))
};

private static readonly HeaderField[] s_staticDecoderTable = new HeaderField[]
Expand Down

0 comments on commit c5708e8

Please sign in to comment.