Improve error message

This commit is contained in:
Eelco Dolstra 2018-02-06 16:45:13 +01:00
parent 6a653c367e
commit 9f96e1e25d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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;