Skip to content

Commit d36eabc

Browse files
committed
warning
1 parent 458aee6 commit d36eabc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/utils/merge-json.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def main():
3131
with open(json_file, "r") as f:
3232
data = json.load(f)
3333
merged_data.extend(data)
34-
except (IOError, json.JSONDecodeError):
34+
except (IOError, json.JSONDecodeError) as e:
35+
print("Failed to parse {json_file}: {e}", file=sys.stderr)
3536
continue
3637

3738
# Deduplicate by converting each entry to a tuple of sorted key-value pairs

0 commit comments

Comments
 (0)