[Pkg-mozext-commits] [tabmixplus] 36/123: When no error is pass to assert call trace
David Prévot
taffit at moszumanska.debian.org
Wed Sep 17 21:16:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 9191db62a2ca53e05347533f5a6120eeb37de24c
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Aug 24 20:10:35 2014 +0300
When no error is pass to assert call trace
---
modules/log.jsm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/log.jsm b/modules/log.jsm
index f05995f..1c2795d 100644
--- a/modules/log.jsm
+++ b/modules/log.jsm
@@ -255,8 +255,8 @@ options = {
},
assert: function TMP_console_assert(aError, aMsg) {
- if (typeof aError.stack != "string") {
- this.trace((aMsg || "") + "\n" + aError, 2);
+ if (!aError || typeof aError.stack != "string") {
+ this.trace((aMsg || "") + "\n" + (aError || ""), 2);
return;
}
--
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