lib/logtail/log_entry.rb in logtail-0.1.6 vs lib/logtail/log_entry.rb in logtail-0.1.7
- old
+ new
@@ -127,10 +127,10 @@
def convert_to_runtime_context(frame)
{
file: path_relative_to_app_root(frame),
line: frame.lineno,
- frame_label: frame.label,
+ frame_label: frame.label.dup.force_encoding('UTF-8'),
}
end
def logtail_logger_frame?(frame)
!frame.absolute_path.nil? && frame.absolute_path.end_with?(LOGGER_FILE)