log errors in less compilation

pull/1/head
ansuz 2017-09-14 18:13:03 +02:00
parent 927a4b948f
commit 08e0ae424d
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ define([
}
console.log('CACHE MISS ' + url);
((/\.less([\?\#].*)?$/.test(url)) ? loadLess : loadCSS)(url, function (err, css) {
if (err) { console.log(err); }
var output = fixAllURLs(css, url);
cachePut(url, output);
inject(output, url);