mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 12:10:40 +08:00
Remove redundant error message (#3761)
This commit is contained in:
committed by
Robert Nishihara
parent
bdeeacc70f
commit
c4b058739b
@@ -6,7 +6,6 @@ import binascii
|
||||
import functools
|
||||
import hashlib
|
||||
import inspect
|
||||
import logging
|
||||
import numpy as np
|
||||
import os
|
||||
import subprocess
|
||||
@@ -19,8 +18,6 @@ import ray.gcs_utils
|
||||
import ray.raylet
|
||||
import ray.ray_constants as ray_constants
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _random_string():
|
||||
id_hash = hashlib.sha1()
|
||||
@@ -72,8 +69,6 @@ def push_error_to_driver(worker,
|
||||
if driver_id is None:
|
||||
driver_id = ray_constants.NIL_JOB_ID.id()
|
||||
data = {} if data is None else data
|
||||
logging.error("Pushing error to dirver, type: %s, message: %s.",
|
||||
error_type, message)
|
||||
worker.raylet_client.push_error(
|
||||
ray.ObjectID(driver_id), error_type, message, time.time())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user