forked from lix-project/hydra
Additional helpful information in error messages.
This commit is contained in:
parent
879333fd3c
commit
e523e8a643
|
@ -56,7 +56,7 @@ sub updateDeclarativeJobset {
|
|||
$input->jobsetinputalts->create({altnr => 0, value => $data->{value}});
|
||||
}
|
||||
delete $declSpec->{"inputs"};
|
||||
die "invalid keys in declarative specification file\n" if (%{$declSpec});
|
||||
die "invalid keys ($declSpec) in declarative specification file\n" if (%{$declSpec});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -425,7 +425,7 @@ sub run {
|
|||
sub grab {
|
||||
my (%args) = @_;
|
||||
my $res = run(%args, grabStderr => 0);
|
||||
die "command `@{$args{cmd}}' failed with exit status $res->{status}" if $res->{status};
|
||||
die "command `@{$args{cmd}}' failed with exit status $res->{status} in $args{dir}" if $res->{status};
|
||||
return $res->{stdout};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue