From e45f7eb62428aa8e5b00afeca2fa0bed5aeb9c21 Mon Sep 17 00:00:00 2001 From: Bass Jobsen Date: Sat, 3 Jan 2015 01:18:53 +0100 Subject: [PATCH] Change error message when caching fails see also: http://stackoverflow.com/questions/27722349/less-js-error-msg-failed-to-save/27750286 --- lib/less-browser/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less-browser/cache.js b/lib/less-browser/cache.js index 3a4a7095..82bc8307 100644 --- a/lib/less-browser/cache.js +++ b/lib/less-browser/cache.js @@ -16,7 +16,7 @@ module.exports = function(window, options, logger) { cache.setItem(path + ':timestamp', lastModified); } catch(e) { //TODO - could do with adding more robust error handling - logger.error('failed to save'); + logger.error('failed to save "' + path + '" to local storage for caching.'); } } },