Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use repr instead of str for phase result logging #1195

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use repr instead of str for phase result logging
PiperOrigin-RevId: 696280022
glados-verma authored and copybara-github committed Nov 13, 2024
commit c7cd2b705d196f21751a2380bb3f61531c634556
2 changes: 1 addition & 1 deletion openhtf/core/phase_executor.py
Original file line number Diff line number Diff line change
@@ -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)