Merge "Don't allow Exchange logger to recurse on failure" into froyo

This commit is contained in:
Marc Blank 2010-04-14 14:29:21 -07:00 committed by Android (Google) Code Review
commit d8a4e4d25d

View File

@ -106,8 +106,12 @@ public class FileLogger {
// If the card is mounted and we can create the writer, retry // If the card is mounted and we can create the writer, retry
LOGGER = new FileLogger(); LOGGER = new FileLogger();
if (sLogWriter != null) { if (sLogWriter != null) {
try {
log("FileLogger", "Exception writing log; recreating..."); log("FileLogger", "Exception writing log; recreating...");
log(prefix, str); log(prefix, str);
} catch (Exception e1) {
// Nothing to do at this point
}
} }
} }
} }