Skip to content

Commit 805cd06

Browse files
Chore: Provide additional info in jinja rendering errors
1 parent 0c8dcb5 commit 805cd06

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sqlmesh/core/renderer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
from contextlib import contextmanager
66
from functools import partial
77
from pathlib import Path
8+
import re
9+
from sys import exc_info
10+
from traceback import walk_tb
11+
from jinja2 import UndefinedError
12+
from jinja2.runtime import Macro
813

914
from sqlglot import exp, parse
1015
from sqlglot.errors import SqlglotError

0 commit comments

Comments
 (0)