Fix filler error message
I should have never submitted this as-is. Whoops!
RELNOTES: none
@@ -1329,7 +1329,10 @@ public abstract class AndroidSkylarkData {
// TODO(asteinb): There should never be more than one direct resource exposed in the provider.
// Can we adjust its structure to take this into account?
if (!binaryDataInfo.getResourcesInfo().getDirectAndroidResources().isSingleton()) {
- throw new EvalException(Location.BUILTIN, "TODO");
+ throw new EvalException(
+ Location.BUILTIN,
+ "Expected exactly 1 direct android resource container, but found: "
+ + binaryDataInfo.getResourcesInfo().getDirectAndroidResources());
}
Optional<Artifact> maybeShrunkApk =
