diff --git a/lib/ldclient-rb/ldclient.rb b/lib/ldclient-rb/ldclient.rb index 79a4f49c..2c515680 100644 --- a/lib/ldclient-rb/ldclient.rb +++ b/lib/ldclient-rb/ldclient.rb @@ -387,7 +387,7 @@ def evaluate_internal(key, context, default, with_reasons) context = Impl::Context::make_context(context) unless context.valid? - @config.logger.error { "[LDClient] Context was invalid for flag evaluation (#{context.error}); returning default value" } + @config.logger.error { "[LDClient] Context was invalid for evaluation of flag '#{key}' (#{context.error}); returning default value" } detail = Evaluator.error_result(EvaluationReason::ERROR_USER_NOT_SPECIFIED, default) return detail end