Skip to content

Commit

Permalink
Use repr instead of str for phase result logging
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 695579969
  • Loading branch information
glados-verma authored and copybara-github committed Nov 13, 2024
1 parent 8c69ab8 commit 25e6e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhtf/core/phase_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def _execute_phase_once(
# Refresh the result in case a validation for a partially set measurement
# or phase diagnoser raised an exception.
result = override_result or phase_state.result
self.logger.debug('Phase %s finished with result %s', phase_desc.name,
self.logger.debug('Phase %s finished with result %r', phase_desc.name,
result.phase_result)
return (result,
phase_thread.get_profile_stats() if run_with_profiling else None)
Expand Down

0 comments on commit 25e6e14

Please sign in to comment.