Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix : minor updates to log messages (#6232)

tofarr4fa5c329d673
diff --git a/openhands/runtime/builder/remote.py b/openhands/runtime/builder/remote.py
index eb35e13b5c..b2e869eca3 100644
--- a/openhands/runtime/builder/remote.py
+++ b/openhands/runtime/builder/remote.py
@@ -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."""
diff --git a/openhands/server/session/session.py b/openhands/server/session/session.py
index a481fbd270..b2688bbcad 100644
--- a/openhands/server/session/session.py
+++ b/openhands/server/session/session.py
@@ -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