diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24 12:43:59 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24 12:43:59 +0200 |
commit | 62309a2c56206821370b87285fcacacba1cb3566 (patch) | |
tree | d76d238a2a0d25c52d8fb90e300e639c34af10e1 /scripts/build-remote.pl.in | |
parent | 56131a2709d76a1e52bada83a083bd2cfee2f716 (diff) |
build-remote.pl: Be less verbose on failing builds
Diffstat (limited to 'scripts/build-remote.pl.in')
-rwxr-xr-x | scripts/build-remote.pl.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index c2f1fecd8..337374c21 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -263,7 +263,8 @@ if ($res != 0) { # or a temporary Nix problem). We propagate this to the caller to # allow it to distinguish between transient and permanent # failures. - print STDERR "build of `$drvPath' on `$hostName' failed with exit code $res\n"; + my $msg = readString($from); + print STDERR "error: $msg (on `$hostName')\n"; exit $res; } |