get_package_dependencies: When adding a package fails, actually report why.
e.Details() gives "additional details" and not the real failure message, which is in e.Message(), so actually print that.
This commit is contained in:
parent
f3114cade7
commit
dfaaa345ff
@ -90,7 +90,7 @@ main(int argc, const char* const* argv)
|
||||
installedRepositoryBuilder.AddPackage(packages[i]);
|
||||
installedRepositoryBuilder.AddToSolver(solver, true);
|
||||
} catch (BFatalErrorException e) {
|
||||
DIE(B_OK, "%s", e.Details().String());
|
||||
DIE(e.Error(), "%s %s", e.Message().String(), e.Details().String());
|
||||
}
|
||||
|
||||
// add external repositories
|
||||
|
Loading…
Reference in New Issue
Block a user