Skip to content

Commit 7c01294

Browse files
committed
more informative logging
1 parent 90e0434 commit 7c01294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pynxtools/dataconverter/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def _log(self, path: str, log_type: ValidationProblem, value: Optional[Any], *ar
223223
"str": "string",
224224
"bool": "boolean",
225225
}
226-
dtype_str = dtype_map.get(dtype, "")
226+
dtype_str = dtype_map.get(dtype, dtype)
227227

228228
logger.warning(
229229
f"Compression for {path} = {value} should not be used for {dtype_str} values."

0 commit comments

Comments
 (0)