Skip to content

Commit 1048259

Browse files
committed
Fix SCons#3935 OSErrors being hidden
1 parent 7e64842 commit 1048259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SCons/Action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ def execute(self, target, source, env, executor: Optional[ExecutorType] = None):
14611461
# some codes do not check the return value of Actions and I do
14621462
# not have the time to modify them at this point.
14631463
if (exc_info[1] and
1464-
not isinstance(exc_info[1], EnvironmentError)):
1464+
not isinstance(exc_info[1], SCons.Errors.SConsEnvironmentError)):
14651465
raise result
14661466

14671467
return result

0 commit comments

Comments
 (0)