@@ -397,7 +397,7 @@ def _send_payload(self, payload):
397
397
fh = urlopen (self ._cfg .url , payload )
398
398
response = fh .read ()
399
399
fh .close ()
400
- logging .info ("Results were sent to codespeed , response was: "
400
+ logging .info ("Results were sent to Codespeed , response was: "
401
401
+ response )
402
402
403
403
def _send_to_codespeed (self , results ):
@@ -406,17 +406,24 @@ def _send_to_codespeed(self, results):
406
406
try :
407
407
self ._send_payload (payload )
408
408
except (IOError , HTTPException ):
409
- # sometimes codespeed fails to accept a request because something
409
+ # sometimes Codespeed fails to accept a request because something
410
410
# is not yet properly initialized, let's try again for those cases
411
411
try :
412
412
self ._send_payload (payload )
413
413
except (IOError , HTTPException ) as error :
414
414
logging .error (str (error ) + " This is most likely caused by "
415
415
"either a wrong URL in the config file, or an "
416
- "environment not configured in codespeed . URL: "
416
+ "environment not configured in Codespeed . URL: "
417
417
+ self ._cfg .url )
418
-
419
- logging .info ("Sent %d results to codespeed." % len (results ))
418
+ envs = set ([i ['environment' ] for i in payload ])
419
+ projects = set ([i ['project' ] for i in payload ])
420
+ benchmarks = set ([i ['benchmark' ] for i in payload ])
421
+ executables = set ([i ['executable' ] for i in payload ])
422
+ logging .error ("Sent data included environments: %s "
423
+ "projects: %s benchmarks: %s executables: %s"
424
+ % (envs , projects , benchmarks , executables ))
425
+
426
+ logging .info ("Sent %d results to Codespeed." % len (results ))
420
427
421
428
def _prepare_result (self , run_id ):
422
429
stats = StatisticProperties (run_id .get_total_values ())
0 commit comments