Don't allow Exchange logger to recurse on failure
Bug: 2594331 Change-Id: Ie5de4ac11259e5be30d4bf9812164823b9ca46ae
This commit is contained in:
parent
c07cd159d4
commit
c89e1a8616
@ -106,8 +106,12 @@ public class FileLogger {
|
||||
// If the card is mounted and we can create the writer, retry
|
||||
LOGGER = new FileLogger();
|
||||
if (sLogWriter != null) {
|
||||
log("FileLogger", "Exception writing log; recreating...");
|
||||
log(prefix, str);
|
||||
try {
|
||||
log("FileLogger", "Exception writing log; recreating...");
|
||||
log(prefix, str);
|
||||
} catch (Exception e1) {
|
||||
// Nothing to do at this point
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user