ray-project / kuberay

A toolkit to run Ray applications on Kubernetes
Apache License 2.0
982 stars 330 forks source link

[Chore][Log] Delete error loggings right before returned errors #2103

Closed MortalHappiness closed 1 month ago

MortalHappiness commented 2 months ago

Why are these changes needed?

Based on the What not to Log section in the logging guidelines, we should not log errors inside functions that return errors. Therefore, in this PR all error loggings right before the returned errors are deleted.

Related issue number

N/A

Checks