Change an exception to a vollog warning

This commit is contained in:
Mike Auty
2024-10-09 21:26:15 +01:00
parent ea18625c42
commit 4b3ef9ccfa
+1 -1
View File
@@ -85,7 +85,7 @@ def valid(
if producer.get("name") == "dwarf2json" and [
int(x) for x in ".".split(producer.get("version"))
] < (0, 8, 0):
raise UserWarning(
vollog.warning(
"Dwarf2json < 0.8.0 is known to produce faulty symbols for kernels > 6.0.0"
)