diff --git a/tensorflow/python/training/monitored_session.py b/tensorflow/python/training/monitored_session.py index d77278e98f4..ab63f4237da 100644 --- a/tensorflow/python/training/monitored_session.py +++ b/tensorflow/python/training/monitored_session.py @@ -1189,7 +1189,7 @@ class _WrappedSession(object): try: self._sess.close() except _PREEMPTION_ERRORS as e: - logging.warning( + logging.error( 'An error occurred when attempting to close the ' 'session. This may be due to a preemption in a ' 'connected worker or parameter server. Error: %s', e)