Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[android] Add specific name logging in failure scenarios of PropertyValue #13409

Merged
merged 1 commit into from
Nov 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Expression getExpression() {
? Expression.Converter.convert((JsonArray) value)
: (Expression) value;
} else {
Logger.w(TAG, "not an expression, try PropertyValue#getValue()");
Logger.w(TAG, String.format("%s not an expression, try PropertyValue#getValue()", name));
return null;
}
}
Expand All @@ -88,7 +88,7 @@ public T getValue() {
// noinspection unchecked
return value;
} else {
Logger.w(TAG, "not a value, try PropertyValue#getExpression()");
Logger.w(TAG, String.format("%s not a value, try PropertyValue#getExpression()", name));
return null;
}
}
Expand Down Expand Up @@ -124,4 +124,4 @@ public Integer getColorInt() {
public String toString() {
return String.format("%s: %s", name, value);
}
}
}