[Pkg-javascript-commits] [dojo] 02/21: Output domReady errors through console.error, preserving the error object and stack, fixes #17349
David Prévot
taffit at moszumanska.debian.org
Sun Sep 14 15:39:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository dojo.
commit 1bfedcaa8c2fd2d7cee22f45ad865b57b5568782
Author: Kris Zyp <kriszyp at gmail.com>
Date: Thu Jun 19 12:50:46 2014 -0600
Output domReady errors through console.error, preserving the error
object and stack, fixes #17349
---
domReady.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/domReady.js b/domReady.js
index 207359a..8c1da71 100644
--- a/domReady.js
+++ b/domReady.js
@@ -39,7 +39,7 @@ define(['./has'], function(has){
try{
(readyQ.shift())(doc);
}catch(err){
- console.log("Error on domReady callback: " + err);
+ console.error(err, "in domReady callback", err.stack);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list