indexes: improve exception message

GitOrigin-RevId: 8a6f503e6f89d7fbda677b80bbb479f574b1430d
This commit is contained in:
Dmitry Batkovich
2020-06-16 16:21:44 +03:00
committed by intellij-monorepo-bot
parent 477c4fabb7
commit 0c8444b47d
@@ -297,7 +297,7 @@ public abstract class MapReduceIndex<Key,Value, Input> implements InvertedIndex<
throw e;
}
catch (Exception e) {
throw new MapInputException("Failed to map data for input " + inputId, e);
throw new MapInputException("Failed to map data for input " + inputId + " for index " + myIndexId.getName(), e);
}
}