[Pkg-javascript-commits] [dojo] 14/23: 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 16:23:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.4
in repository dojo.
commit 7eda7c1a401018c96261bedef7ac9fe9087d22c2
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