@@ -397,7 +397,7 @@ def _send_payload(self, payload):
397397 fh = urlopen (self ._cfg .url , payload )
398398 response = fh .read ()
399399 fh .close ()
400- logging .info ("Results were sent to codespeed , response was: "
400+ logging .info ("Results were sent to Codespeed , response was: "
401401 + response )
402402
403403 def _send_to_codespeed (self , results ):
@@ -406,17 +406,24 @@ def _send_to_codespeed(self, results):
406406 try :
407407 self ._send_payload (payload )
408408 except (IOError , HTTPException ):
409- # sometimes codespeed fails to accept a request because something
409+ # sometimes Codespeed fails to accept a request because something
410410 # is not yet properly initialized, let's try again for those cases
411411 try :
412412 self ._send_payload (payload )
413413 except (IOError , HTTPException ) as error :
414414 logging .error (str (error ) + " This is most likely caused by "
415415 "either a wrong URL in the config file, or an "
416- "environment not configured in codespeed . URL: "
416+ "environment not configured in Codespeed . URL: "
417417 + 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 ))
420427
421428 def _prepare_result (self , run_id ):
422429 stats = StatisticProperties (run_id .get_total_values ())
0 commit comments