installer: fix double print of exception (#24697)
This commit is contained in:
parent
115c39e762
commit
e450612188
@ -1618,6 +1618,7 @@ def install(self):
|
||||
# package as a failure.
|
||||
if (not isinstance(exc, spack.error.SpackError) or
|
||||
not exc.printed):
|
||||
exc.printed = True
|
||||
# SpackErrors can be printed by the build process or at
|
||||
# lower levels -- skip printing if already printed.
|
||||
# TODO: sort out this and SpackError.print_context()
|
||||
|
Loading…
Reference in New Issue
Block a user