Return Status instead of bool in Init(), Flush(), and Close().
authorJonathan Hseu <jhseu@google.com>
Wed, 14 Feb 2018 20:21:30 +0000 (12:21 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 14 Feb 2018 20:27:13 +0000 (12:27 -0800)
commit22176cb7af53caa778e4e793172ed4211ed17141
tree8695cc792dac1e1ced4f37d584b529011619a355
parent71c68c4e9b4b744673ed0b07294c5f0d152686a0
Return Status instead of bool in Init(), Flush(), and Close().

With tf.contrib.summary, a remote worker will be writing summaries. If they just LOG the error, then the user doesn't see them.

PiperOrigin-RevId: 185725556
tensorflow/contrib/tensorboard/db/summary_file_writer.cc
tensorflow/core/util/events_writer.cc
tensorflow/core/util/events_writer.h
tensorflow/core/util/events_writer_test.cc
tensorflow/python/client/events_writer.i