[Pkg-mozext-commits] [tabmixplus] 43/56: Make sure caller is not a null

David Prévot taffit at moszumanska.debian.org
Mon Jun 6 00:02:37 UTC 2016


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 40d30255ee31128d7f34d6bfad8ba7c6eab400cb
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed May 18 11:58:58 2016 +0300

    Make sure caller is not a null
---
 modules/log.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/log.jsm b/modules/log.jsm
index 2af4f2e..64ac27c 100644
--- a/modules/log.jsm
+++ b/modules/log.jsm
@@ -318,7 +318,7 @@ options = {
     parent = parent.name == "_logMessage" ? parent.caller.caller : parent.caller;
     if (parent.name == "TMP_console_wrapper")
       parent = parent.caller.caller;
-    return parent;
+    return parent || {};
   },
 
   reportError: function(ex = null, msg = "") {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list