[Pkg-javascript-commits] [dojo] 02/149: Output domReady errors through console.error, preserving the error object and stack, fixes #17349

David Prévot taffit at moszumanska.debian.org
Sat Feb 27 03:13:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository dojo.

commit d8f2e7b1665e016d06d6c97a1de6156efc3db8c6
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