diff --git a/binding.cpp b/binding.cpp index 39236317b..64e2e2796 100644 --- a/binding.cpp +++ b/binding.cpp @@ -82,6 +82,10 @@ void FillStatsObj(Handle stats, sass_file_context* ctx) { Handle source_map; FillStatsObj(stats, ctx); + + if (ctx->error_status) { + return; + } if (ctx->options.source_comments == SASS_SOURCE_COMMENTS_MAP) { source_map = NanNew(ctx->source_map_string); } else {