mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix Better error message in development when version number changes. (#4188)
This commit is contained in:
parent
053e2f90d5
commit
909e332207
@ -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}')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user