diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js index 69c75762..f0762bed 100644 --- a/lib/less-browser/index.js +++ b/lib/less-browser/index.js @@ -222,6 +222,7 @@ less.refresh = function (reload, modifyVars, clearFileCache) { if (e) { errors.add(e, e.href || sheet.href); reject(e); + return; } if (webInfo.local) { less.logger.info("loading " + sheet.href + " from cache.");