|
|
@ -51,13 +51,13 @@ public class ApplicationEx extends Application {
|
|
|
|
out = new FileWriter(file);
|
|
|
|
out = new FileWriter(file);
|
|
|
|
out.write(ex.toString() + "\n" + Log.getStackTraceString(ex));
|
|
|
|
out.write(ex.toString() + "\n" + Log.getStackTraceString(ex));
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
Log.e(Helper.TAG, e + "\n" + Log.getStackTraceString(ex));
|
|
|
|
Log.e(Helper.TAG, e + "\n" + Log.getStackTraceString(e));
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|
if (out != null) {
|
|
|
|
if (out != null) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
out.close();
|
|
|
|
out.close();
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
Log.e(Helper.TAG, e + "\n" + Log.getStackTraceString(ex));
|
|
|
|
Log.e(Helper.TAG, e + "\n" + Log.getStackTraceString(e));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|