diff --git a/lib/less/browser.js b/lib/less/browser.js index 40219087..7a8d9815 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -152,7 +152,7 @@ function loadStyleSheet(sheet, callback, reload, remaining) { } } }, function (status, url) { - throw new(Error)("Couldn't load " + url+ " (" + status + ")"); + throw new(Error)("Couldn't load " + url + " (" + status + ")"); }); } @@ -223,7 +223,7 @@ function xhr(url, callback, errback) { if (xhr.status === 0) { callback(xhr.responseText); } else { - errback(xhr.status); + errback(xhr.status, url); } } else if (async) { xhr.onreadystatechange = function () {