From 2f6ae7bb8bf04067191bb91995e605e02c19fbcb Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Wed, 20 Dec 2017 08:51:10 +0100 Subject: Improve read failed error message Change-Id: I5b74855284765b8281ec79122cad69d1a8f87856 Signed-off-by: Marek Gradzki --- .../honeycomb/translate/impl/read/registry/CompositeReaderRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> 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); } -- cgit 1.2.3-korg