Fix logging crash
If the string contains a character that is intrepreted by the string formatter, this would throw an exception Change-Id: I60cccb539bf197fa555d8d1f0fa1bdca3e07114e
This commit is contained in:
parent
555bd3c0b7
commit
5a3fe57f4e
@ -112,7 +112,7 @@ public class DiscourseLogger {
|
||||
|
||||
LogUtils.w(Logging.LOG_TAG, "Last network activities:");
|
||||
for (String r : getLines()) {
|
||||
LogUtils.w(Logging.LOG_TAG, r);
|
||||
LogUtils.w(Logging.LOG_TAG, "%s", r);
|
||||
}
|
||||
initBuffer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user