From: Robert Konigsberg Date: Tue, 14 Jun 2011 18:33:02 +0000 (-0400) Subject: Getting more errors from tests. X-Git-Tag: v1.0.0~458^2~5 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=7479008dbaf94f39347c27f90678b1776290fe28;p=dygraphs.git Getting more errors from tests. --- diff --git a/auto_tests/misc/fake-jstestdriver.js b/auto_tests/misc/fake-jstestdriver.js index 9ca10cd..4397741 100644 --- a/auto_tests/misc/fake-jstestdriver.js +++ b/auto_tests/misc/fake-jstestdriver.js @@ -54,7 +54,10 @@ function TestCase(name) { this.tearDown(); return true; } catch (e) { - console.log(e.stack); + console.log(e); + if (e.stack) { + console.log(e.stack); + } return false; } };