diff --git a/infer/lib/capture/javac.py b/infer/lib/capture/javac.py index eb1df54a8..65763a721 100644 --- a/infer/lib/capture/javac.py +++ b/infer/lib/capture/javac.py @@ -30,6 +30,6 @@ class JavacCapture: self.analysis.start() return os.EX_OK except subprocess.CalledProcessError as exc: - if self.args.debug: + if self.analysis.args.debug: traceback.print_exc() return exc.returncode