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:
parent
b81733d9e4
commit
ce969f7bb4
@ -66,9 +66,9 @@ class Launcher:
|
|||||||
env['LIBGL_ALWAYS_INDIRECT'] = '1'
|
env['LIBGL_ALWAYS_INDIRECT'] = '1'
|
||||||
|
|
||||||
if not self.options.verbose:
|
if not self.options.verbose:
|
||||||
# Unless verbose() is specified, only let gjs log things that are explicit log()
|
# Unless verbose() is specified, only let gjs show errors and things that are
|
||||||
# commands form javascript
|
# explicitly logged via log() from javascript
|
||||||
env['GJS_DEBUG_TOPICS'] = 'JS LOG'
|
env['GJS_DEBUG_TOPICS'] = 'JS ERROR;JS LOG'
|
||||||
|
|
||||||
if self.options.debug:
|
if self.options.debug:
|
||||||
args = list(self.debug_command)
|
args = list(self.debug_command)
|
||||||
|
Loading…
Reference in New Issue
Block a user