Skip to content

Commit

Permalink
Fix Better error message in development when version number changes. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tofarr authored Oct 3, 2024
1 parent 053e2f9 commit 909e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/runtime/utils/runtime_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')

Expand Down

0 comments on commit 909e332

Please sign in to comment.