Skip to content

Commit

Permalink
convert log attribute to str for opentelemetry support
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Nov 17, 2023
1 parent c619a7b commit e61c22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qcodes/dataset/data_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def _export_as_netcdf(self, path: Path, file_name: str) -> Path:
else:
log.info(
"Writing netcdf file directly.",
extra={"file_name": file_path},
extra={"file_name": str(file_path)},
)

file_path = super()._export_as_netcdf(path=path, file_name=file_name)
Expand Down

0 comments on commit e61c22a

Please sign in to comment.