Skip to content

Commit

Permalink
log before failing
Browse files Browse the repository at this point in the history
Change-Id: I3df9f61a0596903ee60148aba68315ac4e3bde2a
  • Loading branch information
mo-ki committed Jan 16, 2025
1 parent c82d3be commit a4a1fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmk/update_config/plugins/actions/counters_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ def convert_counter_files(counters_path: Path, logger: Logger) -> None:
logger.debug(msg_temp, "skipped (already JSON)", f)
continue

logger.debug(msg_temp, "converting", f)
f.write_text(
json.dumps(
[(k, repr(v)) for k, v in ast.literal_eval(content).items()],
)
)
logger.debug(msg_temp, "converted", f)


update_action_registry.register(
Expand Down

0 comments on commit a4a1fb2

Please sign in to comment.