@@ -330,7 +330,7 @@ public void onClick(View v) {
330
330
try {
331
331
peopleAdapter .changeCursor (getPeopleCursorGenerator ().call ());
332
332
} catch (Exception e ) {
333
- e . printStackTrace ( );
333
+ ZLog . logException ( e );
334
334
}
335
335
//set search editText text empty
336
336
etSearchPeople .setText ("" );
@@ -346,7 +346,7 @@ public void onClick(View v) {
346
346
try {
347
347
streamsDrawerAdapter .changeCursor (getSteamCursorGenerator ().call ());
348
348
} catch (Exception e ) {
349
- e . printStackTrace ( );
349
+ ZLog . logException ( e );
350
350
}
351
351
etSearchStream .setText ("" );
352
352
}
@@ -597,6 +597,7 @@ private void setUpPeopleList() {
597
597
598
598
peopleDrawer .setAdapter (peopleAdapter );
599
599
} catch (SQLException e ) {
600
+ ZLog .logException (e );
600
601
throw new RuntimeException (e );
601
602
} catch (Exception e ) {
602
603
ZLog .logException (e );
@@ -615,7 +616,7 @@ public void onTextChanged(CharSequence s, int start, int before, int count) {
615
616
try {
616
617
peopleAdapter .changeCursor (getPeopleCursorGenerator ().call ());
617
618
} catch (Exception e ) {
618
- e . printStackTrace ( );
619
+ ZLog . logException ( e );
619
620
}
620
621
}
621
622
@@ -1102,6 +1103,7 @@ private void sendMessage() {
1102
1103
return ;
1103
1104
}
1104
1105
} catch (SQLException e ) {
1106
+ ZLog .logException (e );
1105
1107
Log .e ("SQLException" , "SQL not correct" , e );
1106
1108
}
1107
1109
}
@@ -1203,6 +1205,7 @@ public Cursor runQuery(CharSequence charSequence) {
1203
1205
try {
1204
1206
return makeStreamCursor (charSequence );
1205
1207
} catch (SQLException e ) {
1208
+ ZLog .logException (e );
1206
1209
Log .e ("SQLException" , "SQL not correct" , e );
1207
1210
return null ;
1208
1211
}
@@ -1225,6 +1228,7 @@ public Cursor runQuery(CharSequence charSequence) {
1225
1228
try {
1226
1229
return makeSubjectCursor (streamActv .getText ().toString (), charSequence );
1227
1230
} catch (SQLException e ) {
1231
+ ZLog .logException (e );
1228
1232
Log .e ("SQLException" , "SQL not correct" , e );
1229
1233
return null ;
1230
1234
}
@@ -1257,6 +1261,7 @@ public Cursor runQuery(CharSequence charSequence) {
1257
1261
try {
1258
1262
return makePeopleCursor (charSequence );
1259
1263
} catch (SQLException e ) {
1264
+ ZLog .logException (e );
1260
1265
Log .e ("SQLException" , "SQL not correct" , e );
1261
1266
return null ;
1262
1267
}
@@ -1444,6 +1449,7 @@ private void processParams() {
1444
1449
.substring (getBaseContext ().getPackageName ()
1445
1450
.length () + 1 ));
1446
1451
} catch (IllegalArgumentException e ) {
1452
+ ZLog .logException (e );
1447
1453
Log .e (PARAMS , "Invalid app-specific intent specified." , e );
1448
1454
continue ;
1449
1455
}
0 commit comments