We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82cddcf commit 42ddab2Copy full SHA for 42ddab2
SCons/SConf.py
@@ -251,9 +251,9 @@ def display_cached_string(self, bi) -> None:
251
def failed(self):
252
# check, if the reason was a ConfigureDryRunError or a
253
# ConfigureCacheError and if yes, reraise the exception
254
- exc_type = self.exc_info()[0]
+ exc_type, exc, _ = self.exc_info()
255
if issubclass(exc_type, SConfError):
256
- raise self.exc_info()[1]
+ raise exc
257
elif issubclass(exc_type, SCons.Errors.BuildError):
258
# we ignore Build Errors (occurs, when a test doesn't pass)
259
# Clear the exception to prevent the contained traceback
0 commit comments