Skip to content

Commit

Permalink
include attribute id in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vonovak committed Apr 29, 2020
1 parent c6b8aeb commit c0215e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static Drawable createDrawableFromJSDescription(
int attrId = getAttrId(context, attr);
if (!context.getTheme().resolveAttribute(attrId, sResolveOutValue, true)) {
throw new JSApplicationIllegalArgumentException(
"Attribute " + attr + " couldn't be resolved into a drawable");
"Attribute " + attr + " with id " + attrId + " couldn't be resolved into a drawable");
}
Drawable drawable = getDefaultThemeDrawable(context);
return setRadius(drawableDescriptionDict, drawable);
Expand Down

0 comments on commit c0215e3

Please sign in to comment.