Show log tail when a remote build fails

This commit is contained in:
Eelco Dolstra 2017-11-28 15:36:28 +01:00
parent 3c470c97a1
commit b52846ab5b
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -1608,8 +1608,8 @@ void DerivationGoal::buildDone()
outputLocks.unlock(); outputLocks.unlock();
} catch (BuildError & e) { } catch (BuildError & e) {
if (!hook)
printError(e.msg()); printError(e.msg());
outputLocks.unlock(); outputLocks.unlock();
BuildResult::Status st = BuildResult::MiscFailure; BuildResult::Status st = BuildResult::MiscFailure;