Skip to content

Commit

Permalink
Fix C# pipeline build error (#10524)
Browse files Browse the repository at this point in the history
  • Loading branch information
skottmckay authored Feb 11, 2022
1 parent 4e2a974 commit 318d31e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ internal static void GetTypeAndWidth(Tensors.TensorElementType elemType, out Typ
}
else
{
throw new OnnxRuntimeException(ErrorCode.InvalidArgument, "Unable to get information for type: " + elemType.ToString());
throw new ArgumentException("Unable to get information for type: " + elemType.ToString());
}
}

Expand Down

0 comments on commit 318d31e

Please sign in to comment.