mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1341727 - Setup logging in ./mach taskgraph action-callback. r=dustin,wlach
MozReview-Commit-ID: LLSU87IofRh --HG-- extra : rebase_source : 81450062c2b7fa37708d6cdba05a91db91018db9
This commit is contained in:
parent
abaaf7cd38
commit
b77f334748
@ -306,7 +306,12 @@ class MachCommands(MachCommandBase):
|
||||
description='Run action callback used by action tasks')
|
||||
def action_callback(self, **options):
|
||||
import actions
|
||||
actions.trigger_action_callback()
|
||||
try:
|
||||
self.setup_logging()
|
||||
return actions.trigger_action_callback()
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
sys.exit(1)
|
||||
|
||||
def setup_logging(self, quiet=False, verbose=True):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user