Skip to content

Commit dc99555

Browse files
Romain Guyandroid code review
authored andcommitted
Merge "Pass SearchView suggestion cursor exception to Log."
2 parents 612ca9c + 73af451 commit dc99555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/widget/SearchView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,8 +1521,8 @@ private Intent createIntentFromSuggestion(Cursor c, int actionKey, String action
15211521
} catch (RuntimeException e2 ) {
15221522
rowNum = -1;
15231523
}
1524-
Log.w(LOG_TAG, "Search Suggestions cursor at row " + rowNum +
1525-
" returned exception" + e.toString());
1524+
Log.w(LOG_TAG, "Search suggestions cursor at row " + rowNum +
1525+
" returned exception.", e);
15261526
return null;
15271527
}
15281528
}

0 commit comments

Comments
 (0)