diff --git a/core/dbt/context/base.py b/core/dbt/context/base.py index ed2d6548d16..8d70a5a057c 100644 --- a/core/dbt/context/base.py +++ b/core/dbt/context/base.py @@ -556,6 +556,10 @@ def log(msg: str, info: bool = False) -> str: {{ log("Running some_macro: " ~ arg1 ~ ", " ~ arg2) }} {% endmacro %}" """ + + if not isinstance(msg, str): + msg = str(msg) + if info: fire_event(MacroEventInfo(msg=msg)) else: