File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ def run_processing(self):
104
104
105
105
self .save_data ()
106
106
107
+ logging .debug ("Preparing to generate HAR" )
107
108
if self .options .har or 'gcs_har_upload' in self .job :
108
109
self .generate_har ()
109
110
@@ -972,6 +973,7 @@ def add_script_timings(self):
972
973
973
974
def generate_har (self ):
974
975
"""Generate a HAR file for the current step"""
976
+ logging .debug ("Generating HAR" )
975
977
try :
976
978
page_data = self .data ['pageData' ]
977
979
har = {'log' : {
@@ -1034,6 +1036,8 @@ def generate_har(self):
1034
1036
logging .debug ('Uploaded HAR to gs://%s/%s' , self .job ['gcs_har_upload' ]['bucket' ], gcs_path )
1035
1037
except Exception :
1036
1038
logging .exception ('Error uploading HAR to Cloud Storage' )
1039
+ else :
1040
+ logging .debug ("Not uploading HAR" )
1037
1041
1038
1042
if uploaded :
1039
1043
if self .job ['success' ] and 'bq_datastore' in self .job :
Original file line number Diff line number Diff line change @@ -1625,9 +1625,11 @@ def upload_task_result(self, task):
1625
1625
self .cpu_pct = None
1626
1626
self .update_browser_viewport (task )
1627
1627
if task ['run' ] == 1 and not task ['cached' ]:
1628
+ logging .debug ("Collecting CrUX data" )
1628
1629
self .collect_crux_data (task )
1629
1630
# Post-process the given test run
1630
1631
try :
1632
+ logging .debug ("Processing test result" )
1631
1633
from internal .process_test import ProcessTest
1632
1634
ProcessTest (self .options , self .job , task )
1633
1635
except Exception :
You can’t perform that action at this time.
0 commit comments