Merge remote-tracking branch 'origin/patch-4'

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
This commit is contained in:
Jake 2026-03-02 15:34:15 -08:00
commit c4020218d8

View file

@ -281,6 +281,8 @@ class GetLogObserver:
log_msg = twisted_logger.formatEventAsClassicLogText(
event, formatTime=lambda e: twisted_logger.formatTime(e, _TIME_FORMAT)
)
if log_msg is None:
return None
return f"{component_prefix}{log_msg}"
def __call__(self, outfile):