Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix Better error message in development when version number changes. (#4188)

tofarr909e332207ae
diff --git a/openhands/runtime/utils/runtime_build.py b/openhands/runtime/utils/runtime_build.py
index 5d8dde1f1d..97b4bb9caa 100644
--- a/openhands/runtime/utils/runtime_build.py
+++ b/openhands/runtime/utils/runtime_build.py
@@ -57,7 +57,7 @@ def _put_source_code_to_dir(temp_dir: str):
raise RuntimeError(f'Image build failed:\n{result}')
if not os.path.exists(tarball_path):
- logger.error(f'Source distribution not found at {tarball_path}')
+ logger.error(f'Source distribution not found at {tarball_path}. (Do you need to run `make build`?)')
raise RuntimeError(f'Source distribution not found at {tarball_path}')
logger.info(f'Source distribution created at {tarball_path}')