File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
changelog/unreleased/bugfixes
tripdata/src/main/java/com/mapbox/navigation/tripdata/shield/model Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ - Obfuscated access token in ` RouteShieldError#url#toString ` .
Original file line number Diff line number Diff line change 11package com.mapbox.navigation.tripdata.shield.model
22
3+ import com.mapbox.navigation.utils.internal.obfuscateAccessToken
4+
35/* *
46 * Data structure that holds information about errors in downloading route shields.
57 * @property url that was downloaded and resulted in an error
@@ -35,6 +37,9 @@ class RouteShieldError internal constructor(
3537 * Returns a string representation of the object.
3638 */
3739 override fun toString (): String {
38- return " RouteShieldError(url='$url ', errorMessage='$errorMessage ')"
40+ return " RouteShieldError(" +
41+ " url='${url?.obfuscateAccessToken()} ', " +
42+ " errorMessage='$errorMessage '" +
43+ " )"
3944 }
4045}
You can’t perform that action at this time.
0 commit comments