Skip to content

Commit

Permalink
[tiny] runtime env error message improvement (#31695)
Browse files Browse the repository at this point in the history
Improve the error message.
  • Loading branch information
SongGuyang authored Jan 18, 2023
1 parent 705fbc1 commit 84dc0a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/ray/_private/runtime_env/packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ def _store_package_in_gcs(
raise ValueError(
f"Package size ({size_str}) exceeds the maximum size of "
f"{_mib_string(GCS_STORAGE_MAX_SIZE)}. You can exclude large "
"files using the 'excludes' option to the runtime_env."
"files using the 'excludes' option to the runtime_env or provide "
"a remote URI of a zip file using protocols such as 's3://', "
"'https://' and so on, refer to "
"https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#api-reference." # noqa
)

logger.info(f"Pushing file package '{pkg_uri}' ({size_str}) to Ray cluster...")
Expand Down

0 comments on commit 84dc0a5

Please sign in to comment.