[Pkg-javascript-commits] [less.js] 18/38: Change error message when caching fails
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:27:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.2.0
in repository less.js.
commit e45f7eb62428aa8e5b00afeca2fa0bed5aeb9c21
Author: Bass Jobsen <bass at w3masters.nl>
Date: Sat Jan 3 01:18:53 2015 +0100
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 3a4a709..82bc830 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.');
}
}
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list