mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 18:54:14 +01:00
error handling
This commit is contained in:
parent
342febe940
commit
7eb0497acd
1 changed files with 3 additions and 2 deletions
|
@ -172,7 +172,7 @@ CONFIG_NEWLIB_LIBC=y
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
)
|
)
|
||||||
subprocess.run(
|
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):
|
def extract_include_paths(command):
|
||||||
|
@ -204,7 +204,8 @@ CONFIG_NEWLIB_LIBC=y
|
||||||
input="",
|
input="",
|
||||||
text=True,
|
text=True,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
check=False,
|
stdout=subprocess.DEVNULL,
|
||||||
|
check=True,
|
||||||
)
|
)
|
||||||
include_paths = []
|
include_paths = []
|
||||||
start_collecting = False
|
start_collecting = False
|
||||||
|
|
Loading…
Reference in a new issue