Stop game and engine compilation at first error using UnrealBuildTool

Hello,
i’m trying to stop game and engine compilation at the first error encountered using UnrealBuildTool. I tried setting bStopCompilationAfterErrors in the build configuration, but it looks like it didn’t work. Do you have any idea on how to solve the issue?