mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 19:22:51 +08:00
Bug fixing: Redis password should be used when reporting errors. (#3724)
This commit is contained in:
committed by
Robert Nishihara
parent
6bbc667f93
commit
59d861281e
@@ -380,7 +380,9 @@ if __name__ == "__main__":
|
||||
except Exception as e:
|
||||
# Something went wrong, so push an error to all drivers.
|
||||
redis_client = redis.StrictRedis(
|
||||
host=redis_ip_address, port=redis_port)
|
||||
host=redis_ip_address,
|
||||
port=redis_port,
|
||||
password=args.redis_password)
|
||||
traceback_str = ray.utils.format_error_message(traceback.format_exc())
|
||||
message = "The monitor failed with the following error:\n{}".format(
|
||||
traceback_str)
|
||||
|
||||
Reference in New Issue
Block a user