Throw in some labels as an added bonus just in case

This commit is contained in:
TwistedUmbrella 2014-02-22 18:40:23 -05:00
parent eaac86808f
commit c9a10451b7
1 changed files with 2 additions and 1 deletions

View File

@ -59,10 +59,11 @@ public class MainActivity extends SlidingFragmentActivity implements
public void uncaughtException(Thread t, Throwable error) {
if (error != null) {
StringBuilder output = new StringBuilder();
output.append("Thread:\n");
for (StackTraceElement trace : t.getStackTrace()) {
output.append(trace.toString() + " ");
}
output.append(" / ");
output.append("\n\nError:\n");
for (StackTraceElement trace : error.getStackTrace()) {
output.append(trace.toString() + " ");
}