OLD | NEW |
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import logging | 5 import logging |
6 import sys | 6 import sys |
7 | 7 |
8 from py_utils import cloud_storage # pylint: disable=import-error | 8 from py_utils import cloud_storage # pylint: disable=import-error |
9 | 9 |
10 from telemetry.core import exceptions | 10 from telemetry.core import exceptions |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 except Exception: # pylint: disable=broad-except | 391 except Exception: # pylint: disable=broad-except |
392 logging.exception('Failed to get browser standard output:') | 392 logging.exception('Failed to get browser standard output:') |
393 logging.info('*********** END OF BROWSER STANDARD OUTPUT ************') | 393 logging.info('*********** END OF BROWSER STANDARD OUTPUT ************') |
394 | 394 |
395 logging.info('********************* BROWSER LOG *********************') | 395 logging.info('********************* BROWSER LOG *********************') |
396 try: | 396 try: |
397 logging.info(self.GetLogFileContents()) | 397 logging.info(self.GetLogFileContents()) |
398 except Exception: # pylint: disable=broad-except | 398 except Exception: # pylint: disable=broad-except |
399 logging.exception('Failed to get browser log:') | 399 logging.exception('Failed to get browser log:') |
400 logging.info('***************** END OF BROWSER LOG ******************') | 400 logging.info('***************** END OF BROWSER LOG ******************') |
| 401 |
| 402 @property |
| 403 def browser_backed(self): |
| 404 return self._browser_backend |
OLD | NEW |