Improve error message
This commit is contained in:
parent
6a653c367e
commit
9f96e1e25d
|
@ -100,7 +100,7 @@ if ($bucket->head_key("$releasePrefix")) {
|
|||
|
||||
my $buildInfo = decode_json(fetch("$evalUrl/job/$jobName", 'application/json'));
|
||||
|
||||
my $srcFile = $buildInfo->{buildproducts}->{1}->{path} or die;
|
||||
my $srcFile = $buildInfo->{buildproducts}->{1}->{path} or die "job '$jobName' lacks a store path";
|
||||
$dstName //= basename($srcFile);
|
||||
my $dstFile = "$tmpDir/" . $dstName;
|
||||
|
||||
|
|
Loading…
Reference in a new issue