diff --git a/WoofWare.Myriad.Plugins/HttpClientGenerator.fs b/WoofWare.Myriad.Plugins/HttpClientGenerator.fs index d04b45a..6fc83a3 100644 --- a/WoofWare.Myriad.Plugins/HttpClientGenerator.fs +++ b/WoofWare.Myriad.Plugins/HttpClientGenerator.fs @@ -695,7 +695,7 @@ module internal HttpClientGenerator = let headerInfo = match extractHeaderInformation pi.Attributes with | [ [ x ] ] -> x - | [ xs ] -> + | [ _ ] -> failwith "Expected exactly one Header parameter on the member, with exactly one arg; got one Header parameter with non-1-many args" | [] ->