summaryrefslogtreecommitdiff
path: root/scss/tool.py
diff options
context:
space:
mode:
Diffstat (limited to 'scss/tool.py')
-rw-r--r--scss/tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/tool.py b/scss/tool.py
index f1bced0..205bb81 100644
--- a/scss/tool.py
+++ b/scss/tool.py
@@ -395,7 +395,7 @@ class SassRepl(object):
# TODO respect compress?
try:
yield(self.calculator.calculate(s).render())
- except SassEvaluationError as e:
+ except (SyntaxError, SassEvaluationError) as e:
print("%s" % e, file=sys.stderr)