From 11e5e1b0f234fe212a9c62fb1a2f8b292f7eb40d Mon Sep 17 00:00:00 2001 From: Jacob Beck Date: Wed, 11 Dec 2019 11:57:02 -0700 Subject: [PATCH] call pull_information() before we enqueue the log record --- core/dbt/rpc/logger.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/dbt/rpc/logger.py b/core/dbt/rpc/logger.py index cfe006cfad1..047747293bb 100644 --- a/core/dbt/rpc/logger.py +++ b/core/dbt/rpc/logger.py @@ -89,6 +89,8 @@ def create(cls): class QueueLogHandler(logbook.queues.MultiProcessingHandler): def emit(self, record: logbook.LogRecord): + # trigger the cached proeprties here + record.pull_information() self.queue.put_nowait(QueueLogMessage.from_record(record)) def emit_error(self, error: JSONRPCError):