Skip to content

Commit 9f96e1e

Browse files
committed
Improve error message
1 parent 6a653c3 commit 9f96e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mirror-nixos-branch.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sub fetch {
100100

101101
my $buildInfo = decode_json(fetch("$evalUrl/job/$jobName", 'application/json'));
102102

103-
my $srcFile = $buildInfo->{buildproducts}->{1}->{path} or die;
103+
my $srcFile = $buildInfo->{buildproducts}->{1}->{path} or die "job '$jobName' lacks a store path";
104104
$dstName //= basename($srcFile);
105105
my $dstFile = "$tmpDir/" . $dstName;
106106

0 commit comments

Comments
 (0)