libstore: catch all exceptions in builder setup, not just lix errors
this lets us use std::filesystem and other apis to make builder setup easier. Change-Id: Ie0303139171161887b610f845e2948fe07c143e0
This commit is contained in:
@@ -1367,7 +1367,7 @@ void LocalDerivationGoal::runChild(build::Request::Reader request)
|
||||
|
||||
throw SysError("executing '%1%'", drv->builder);
|
||||
|
||||
} catch (Error & e) {
|
||||
} catch (std::exception & e) { // NOLINT(lix-foreign-exceptions)
|
||||
if (sendException) {
|
||||
writeFull(STDERR_FILENO, std::format("\1{}\n", e.what()));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user