Skip to content

Commit 8cd9402

Browse files
Update README.md
1 parent 59540f2 commit 8cd9402

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public class App extends Application {
5151
@Override
5252
public void run() {
5353
try {
54+
//建议使用下面方式在控制台打印异常,这样就可以在Error级别看到红色log
5455
Log.e("AndroidRuntime","--->CockroachException:"+thread+"<---",throwable);
5556
Toast.makeText(App.this, "Exception Happend\n" + thread + "\n" + throwable.toString(), Toast.LENGTH_SHORT).show();
5657
// throw new RuntimeException("..."+(i++));

0 commit comments

Comments
 (0)