Skip to content

Commit 70ee8fa

Browse files
{BugFix} Display rec path on error (#232)
Summary: ## PR Summary This small PR evaluates and displays the `rec.path` in error message. Pull Request resolved: #232 Reviewed By: PiotrBrzyski Differential Revision: D79809818 Pulled By: SeaOtocinclus fbshipit-source-id: 6e6f06d1da9ef60a8e2bb64db2295955c0118d00
1 parent ebba967 commit 70ee8fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projectaria_tools/aria_mps_cli/cli_lib/multi_recording_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ async def _health_check(rec: AriaRecording) -> None:
436436
)
437437
await vhc_runner.run()
438438
if not rec.health_check_path.is_file():
439-
logger.error("Failed to run VrsHealthCheck for {rec.path}")
439+
logger.error(f"Failed to run VrsHealthCheck for {rec.path}")
440440
self._error_codes[rec.path] = ErrorCode.HEALTH_CHECK_FAILURE
441441
raise VrsHealthCheckError()
442442

0 commit comments

Comments
 (0)