mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
replace pip in message (#2007)
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com> Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com> Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Co-authored-by: Chavithra <chavithra@gmail.com>
This commit is contained in:
@@ -167,6 +167,8 @@ class FormatterWithExceptions(logging.Formatter):
|
||||
log_prefix_content = {**log_prefix_content, **log_extra}
|
||||
log_prefix = self.LOGPREFIXFORMAT % log_prefix_content
|
||||
|
||||
record.msg = record.msg.replace("|", "-MOCK_PIPE-")
|
||||
|
||||
log_line = super().format(record)
|
||||
log_line = self.filter_log_line(text=log_line)
|
||||
log_line_full = log_prefix + log_line
|
||||
|
||||
Reference in New Issue
Block a user