We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458aee6 commit d36eabcCopy full SHA for d36eabc
llvm/utils/merge-json.py
@@ -31,7 +31,8 @@ def main():
31
with open(json_file, "r") as f:
32
data = json.load(f)
33
merged_data.extend(data)
34
- except (IOError, json.JSONDecodeError):
+ except (IOError, json.JSONDecodeError) as e:
35
+ print("Failed to parse {json_file}: {e}", file=sys.stderr)
36
continue
37
38
# Deduplicate by converting each entry to a tuple of sorted key-value pairs
0 commit comments