diff --git a/openhands/runtime/builder/remote.py b/openhands/runtime/builder/remote.py index eb35e13b5c1c9..b2e869eca3bfa 100644 --- a/openhands/runtime/builder/remote.py +++ b/openhands/runtime/builder/remote.py @@ -118,9 +118,7 @@ def build( # 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.""" diff --git a/openhands/server/session/session.py b/openhands/server/session/session.py index a481fbd27078a..b2688bbcad066 100644 --- a/openhands/server/session/session.py +++ b/openhands/server/session/session.py @@ -113,9 +113,9 @@ async def initialize_agent( 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