mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
error handling
This commit is contained in:
parent
342febe940
commit
7eb0497acd
@ -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…
x
Reference in New Issue
Block a user