Conditionally sanitize exceptions

This commit is contained in:
M66B
2019-06-26 16:51:29 +02:00
parent 4cc1ed3a85
commit 286a6a9720
11 changed files with 48 additions and 42 deletions

View File

@@ -386,7 +386,7 @@ public class FragmentQuickSetup extends FragmentBase {
if (ex instanceof IllegalArgumentException || ex instanceof UnknownHostException)
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show();
else {
tvError.setText(Helper.formatThrowable(ex));
tvError.setText(Helper.formatThrowable(ex, false));
tvError.setVisibility(View.VISIBLE);
}
}