Skip to content

Commit 77bc425

Browse files
authored
Specify exception types in lib_ignore processing
1 parent c4218bc commit 77bc425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ def get_lib_ignore_components():
11251125
lib_ignore_entries = lib_handler._get_lib_ignore_entries()
11261126

11271127
return lib_ignore_entries
1128-
except Exception as e:
1128+
except (OSError, ValueError, RuntimeError, KeyError) as e:
11291129
print(f"[ESP-IDF] Warning: Could not process lib_ignore: {e}")
11301130
return []
11311131

0 commit comments

Comments
 (0)