error handling

This commit is contained in:
Tomasz Duda 2024-07-26 09:54:46 +02:00
parent 342febe940
commit 7eb0497acd

View file

@ -172,7 +172,7 @@ CONFIG_NEWLIB_LIBC=y
encoding="utf-8",
)
subprocess.run(
["pio", "run", "-e", build_environment, "-d", build_dir], check=False
["pio", "run", "-e", build_environment, "-d", build_dir], check=True
)
def extract_include_paths(command):
@ -204,7 +204,8 @@ CONFIG_NEWLIB_LIBC=y
input="",
text=True,
stderr=subprocess.PIPE,
check=False,
stdout=subprocess.DEVNULL,
check=True,
)
include_paths = []
start_collecting = False