about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-28T14·36+0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-28T14·36+0100
commitb52846ab5b5d1317a6f7a5967e35b360a731b9c6 (patch)
tree9bb8458a674b92f0dfb298ccd34395e66395289c /src/libstore/build.cc
parent3c470c97a1b8d19f03c4d3caa9872e2e786a15ea (diff)
Show log tail when a remote build fails
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 061682377257..866964a4c465 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1608,8 +1608,8 @@ void DerivationGoal::buildDone()
         outputLocks.unlock();
 
     } catch (BuildError & e) {
-        if (!hook)
-            printError(e.msg());
+        printError(e.msg());
+
         outputLocks.unlock();
 
         BuildResult::Status st = BuildResult::MiscFailure;