Skip to content

Commit

Permalink
Update logging in ExpressionValidator (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjololo authored Oct 10, 2023
1 parent cf752c8 commit 89323b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ public static IEnumerable<ValidationIssue> Validate(JsonElement validationConfig
validationIssues.Add(validationIssue);
}
}
catch
catch(Exception e)
{
logger.LogError($"Error while evaluating expression validation for {resolvedField}");
logger.LogError(e, "Error while evaluating expression validation for {resolvedField}", resolvedField);
throw;
}
}
Expand Down

0 comments on commit 89323b6

Please sign in to comment.