edtlib: improve inferred binding error message
Print the type which caused the error to make debugging easier. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
760d00913a
commit
6c5254321c
1 changed files with 1 additions and 1 deletions
|
@ -840,7 +840,7 @@ class Node:
|
|||
pp["type"] = "phandle-array"
|
||||
else:
|
||||
_err(f"cannot infer binding from property: {prop} "
|
||||
f"with type {prop.type}")
|
||||
f"with type {prop.type!r}")
|
||||
raw['properties'][name] = pp
|
||||
|
||||
# Set up Node state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue