Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] handle unserializable user exception #44878

Merged
merged 11 commits into from
May 2, 2024
Prev Previous commit
Next Next commit
Update python/ray/exceptions.py
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com>
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
  • Loading branch information
hongchaodeng and angelinalg authored May 1, 2024
commit 27bbd7d0f4abce9a3e53c3ac29bb7648559d36dc
2 changes: 1 addition & 1 deletion python/ray/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __init__(
except (pickle.PicklingError, TypeError) as e:
err_msg = (
"The original cause of the RayTaskError"
f" ({self.cause.__class__}) is not serializable: {e}."
f" ({self.cause.__class__}) isn't serializable: {e}."
" Overwriting the cause to RayError."
hongchaodeng marked this conversation as resolved.
Show resolved Hide resolved
)
logger.warning(err_msg)
Expand Down
Loading