Skip to content

Commit

Permalink
log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-cat committed Aug 19, 2023
1 parent 0a9eb13 commit fdd567e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configcatclient/rolloutevaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def evaluate(self, key, user, default_value, default_variation_id, config, log_b
log_builder and is_root_flag_evaluation and log_builder.new_line("Returning '%s'." % return_value)
return return_value, return_variation_id, None, None, None
except Exception as e:
error = 'Failed to evaluate setting \'%s\'. (%s)' \
error = 'Failed to evaluate setting \'%s\'. (%s). ' \

Check warning on line 212 in configcatclient/rolloutevaluator.py

View check run for this annotation

Codecov / codecov/patch

configcatclient/rolloutevaluator.py#L211-L212

Added lines #L211 - L212 were not covered by tests
'Returning the `%s` parameter that you specified in your application: \'%s\'. '
error_args = (key, str(e), 'default_value', str(default_value))
self.log.error(error, *error_args, event_id=2001)
Expand Down

0 comments on commit fdd567e

Please sign in to comment.