Fix : minor updates to log messages (#6232)

This commit is contained in:
tofarr 2025-01-13 10:19:51 -07:00 committed by GitHub
parent 5b1dcf83a6
commit 4fa5c329d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -118,9 +118,7 @@ class RemoteRuntimeBuilder(RuntimeBuilder):
# Wait before polling again
sleep_if_should_continue(30)
raise AgentRuntimeBuildError(
'Build interrupted (likely received SIGTERM or SIGINT).'
)
raise AgentRuntimeBuildError('Build interrupted')
def image_exists(self, image_name: str, pull_from_repo: bool = True) -> bool:
"""Checks if an image exists in the remote registry using the /image_exists endpoint."""

View File

@ -113,9 +113,9 @@ class Session:
selected_repository=selected_repository,
)
except Exception as e:
logger.exception(f'Error creating controller: {e}')
logger.exception(f'Error creating agent_session: {e}')
await self.send_error(
f'Error creating controller. Please check Docker is running and visit `{TROUBLESHOOTING_URL}` for more debugging information..'
f'Error creating agent_session. Please check Docker is running and visit `{TROUBLESHOOTING_URL}` for more debugging information..'
)
return