Log error when no stack exists

This commit is contained in:
Kevin Sawicki 2013-04-02 14:40:30 -07:00
parent 3cfbbc5d94
commit 07b40265fb

View File

@ -6,5 +6,5 @@ try
document.title = "Spec Suite"
runSpecSuite "spec-suite"
catch e
console.error(e.stack)
console.error(e.stack ? e)
atom.exit(1) if window.location.params.exitWhenDone