From 8661ef1b0be9b9b3b94733b2c107ec3ade471819 Mon Sep 17 00:00:00 2001 From: Luke Zielinski Date: Fri, 4 Oct 2019 11:13:38 -0400 Subject: [PATCH] Add some debug logspam --- tools/webdriver/webdriver/client.py | 2 +- tools/wptrunner/wptrunner/wptcommandline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/webdriver/webdriver/client.py b/tools/webdriver/webdriver/client.py index 0bddd7b13738321..95b2e1b901f62c8 100644 --- a/tools/webdriver/webdriver/client.py +++ b/tools/webdriver/webdriver/client.py @@ -472,7 +472,7 @@ def send_command(self, method, url, body=None): if response.status != 200: err = error.from_response(response) - + print("Lpz: got an error %s\n" % str(err)) if isinstance(err, error.InvalidSessionIdException): # The driver could have already been deleted the session. self.session_id = None diff --git a/tools/wptrunner/wptrunner/wptcommandline.py b/tools/wptrunner/wptrunner/wptcommandline.py index 5ac29b302e65a7e..bec851d71236059 100644 --- a/tools/wptrunner/wptrunner/wptcommandline.py +++ b/tools/wptrunner/wptrunner/wptcommandline.py @@ -65,7 +65,7 @@ def create_parser(product_choices=None): parser.add_argument("--processes", action="store", type=int, default=None, help="Number of simultaneous processes to use") - parser.add_argument("--no-capture-stdio", action="store_true", default=False, + parser.add_argument("--no-capture-stdio", action="store_true", default=True, help="Don't capture stdio and write to logging") parser.add_argument("--no-fail-on-unexpected", action="store_false", default=True,