Skip to content

Commit

Permalink
Fix error reporting for Codespeed
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jun 8, 2018
1 parent 43d4fe3 commit 6d610b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rebench/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,10 @@ def _send_to_codespeed(self, results):
"either a wrong URL in the config file, or an "
"environment not configured in Codespeed. URL: "
+ self._cfg.url)
envs = set([i['environment'] for i in payload])
projects = set([i['project'] for i in payload])
benchmarks = set([i['benchmark'] for i in payload])
executables = set([i['executable'] for i in payload])
envs = list(set([i['environment'] for i in results]))
projects = list(set([i['project'] for i in results]))
benchmarks = list(set([i['benchmark'] for i in results]))
executables = list(set([i['executable'] for i in results]))
logging.error("Sent data included environments: %s "
"projects: %s benchmarks: %s executables: %s"
% (envs, projects, benchmarks, executables))
Expand Down

0 comments on commit 6d610b1

Please sign in to comment.