Skip to content

Commit

Permalink
Update logging in ExpressionValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
tjololo authored Oct 4, 2023
1 parent cf752c8 commit fbbbf97
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 fbbbf97

Please sign in to comment.