summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-12-20 08:51:10 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-12-20 08:51:10 +0100
commit2f6ae7bb8bf04067191bb91995e605e02c19fbcb (patch)
tree3e9c18e455b8accece7e02700289ad8d49309784
parent30332456b6c581085bb17d619ebb74c36e01c357 (diff)
Improve read failed error message
Change-Id: I5b74855284765b8281ec79122cad69d1a8f87856 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rw-r--r--infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/read/registry/CompositeReaderRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/read/registry/CompositeReaderRegistry.java b/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/read/registry/CompositeReaderRegistry.java
index d69e53765..0eda8e6b3 100644
--- a/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/read/registry/CompositeReaderRegistry.java
+++ b/infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/read/registry/CompositeReaderRegistry.java
@@ -117,7 +117,7 @@ public final class CompositeReaderRegistry implements ReaderRegistry {
Iterables.getFirst(id.getPathArguments(), null), "Empty id");
final Reader<? extends DataObject, ? extends Builder<?>> reader = rootReaders.get(first.getType());
checkNotNull(reader,
- "Unable to read %s. Missing reader. Current readers for: %s", id, rootReaders.keySet());
+ "Read failed. Missing reader for %s. Current readers for: %s", id, rootReaders.keySet());
LOG.debug("Reading from delegate: {}", reader);
return reader.read(id, ctx);
}