Skip to content

Commit c394afb

Browse files
committed
minor
1 parent e8b254b commit c394afb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

LogicBuilder.Workflow.Activities.Rules/Rules/RuleValidation.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3026,7 +3026,16 @@ private static void EvaluateCandidate(List<CandidateMember> candidates, MemberIn
30263026
else
30273027
{
30283028
if (!parameters[p].IsOptional)//we shouldn't get here. Bail out on 3005
3029-
throw new ArgumentException("arguments");
3029+
throw new ArgumentException
3030+
(
3031+
string.Format
3032+
(
3033+
CultureInfo.CurrentCulture,
3034+
Messages.MissingParameterExpression,
3035+
parameters[p].Name
3036+
),
3037+
"arguments"
3038+
);
30303039
}
30313040

30323041
// If we get here, then so far so good.

0 commit comments

Comments
 (0)