Include errors in what we print out without -v

Change the debug topics in the non-verbose case from just
JS LOG to JS LOG and JS ERROR.

svn path=/trunk/; revision=21
This commit is contained in:
Owen Taylor 2008-11-02 03:27:11 +00:00
parent b81733d9e4
commit ce969f7bb4

View File

@ -66,9 +66,9 @@ class Launcher:
env['LIBGL_ALWAYS_INDIRECT'] = '1'
if not self.options.verbose:
# Unless verbose() is specified, only let gjs log things that are explicit log()
# commands form javascript
env['GJS_DEBUG_TOPICS'] = 'JS LOG'
# Unless verbose() is specified, only let gjs show errors and things that are
# explicitly logged via log() from javascript
env['GJS_DEBUG_TOPICS'] = 'JS ERROR;JS LOG'
if self.options.debug:
args = list(self.debug_command)