We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9f50b1 commit bf453d7Copy full SHA for bf453d7
scanpipe/pipes/symbols.py
@@ -146,7 +146,15 @@ def collect_and_store_tree_sitter_symbols_and_strings(
146
progress = LoopProgress(resources_count, logger)
147
148
for resource in progress.iter(resource_iterator):
149
- _collect_and_store_tree_sitter_symbols_and_strings(resource)
+ try:
150
+ _collect_and_store_tree_sitter_symbols_and_strings(resource)
151
+ except Exception as e:
152
+ project.add_error(
153
+ description=f"Cannot collect strings from resource at {resource.path}",
154
+ exception=e,
155
+ model="collect_and_store_tree_sitter_symbols_and_strings",
156
+ details={"resource_path": resource.path},
157
+ )
158
159
160
def _collect_and_store_tree_sitter_symbols_and_strings(resource):
0 commit comments