🔨 Clarify env error (#25915)
This commit is contained in:
parent
d9659d3177
commit
5004159550
|
@ -72,7 +72,7 @@ if pioutil.is_pio_build():
|
|||
result = check_envs("env:"+build_env, board_envs, config)
|
||||
|
||||
if not result:
|
||||
err = "Error: Build environment '%s' is incompatible with %s. Use one of these: %s" % \
|
||||
err = "Error: Build environment '%s' is incompatible with %s. Use one of these environments: %s" % \
|
||||
( build_env, motherboard, ", ".join([ e[4:] for e in board_envs if e.startswith("env:") ]) )
|
||||
raise SystemExit(err)
|
||||
|
||||
|
|
Loading…
Reference in a new issue