fix: switch state sync problem

This commit is contained in:
hyb1996
2017-02-04 10:14:58 +08:00
parent 5640b47663
commit 3fb16518e4
11 changed files with 205 additions and 106 deletions

View File

@@ -41,6 +41,7 @@ public class CrashHandler implements UncaughtExceptionHandler {
public static String throwableToString(Throwable throwable) {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
throwable.printStackTrace();
throwable.printStackTrace(pw);
return sw.toString();
}