Skip to content

Commit c8b0b0a

Browse files
committed
more verbose error message, when generating compile deps fails
1 parent 87f14f8 commit c8b0b0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scorep/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ def generate_compile_deps(config):
8585

8686
scorep_config = ["scorep-config"] + config
8787

88-
(return_code, _, _) = call(scorep_config)
88+
(return_code, stdout, stderr) = call(scorep_config)
8989
if return_code != 0:
9090
raise ValueError(
91-
"given config {} is not supported".format(config))
91+
"given config {} is not supported\nstdout: {}\nstrerr: {}".format(config, stdout, stderr))
9292

9393
(_, ldflags, _) = call(scorep_config + ["--ldflags"])
9494
(_, libs, _) = call(scorep_config + ["--libs"])

0 commit comments

Comments
 (0)