Skip to content

Commit 3681c48

Browse files
committed
Merge pull request #971 from asottile/error_fatal
Make @error fatal. Resolves #967.
2 parents bb10765 + 21cc378 commit 3681c48

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

eval.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,7 @@ namespace Sass {
265265
}
266266

267267
string result(unquote(message->perform(&to_string)));
268-
Backtrace top(backtrace, e->pstate(), "");
269-
cerr << "Error: " << result;
270-
cerr << top.to_string(true);
271-
cerr << endl << endl;
268+
error(result, e->pstate());
272269
return 0;
273270
}
274271

0 commit comments

Comments
 (0)