summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyValue.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyValue.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyValue.java
index 4c2cc855a8..ddf85f3861 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyValue.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/PropertyValue.java
@@ -63,7 +63,7 @@ public class PropertyValue<T> {
? 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;
}
}
@@ -88,7 +88,7 @@ public class PropertyValue<T> {
// 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;
}
}
@@ -124,4 +124,4 @@ public class PropertyValue<T> {
public String toString() {
return String.format("%s: %s", name, value);
}
-} \ No newline at end of file
+}