User facing exception

pull/175/head
M66B 5 years ago
parent 90ed27d328
commit 323b009bb2

@ -5551,7 +5551,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
protected void onException(Bundle args, Throwable ex) {
if (ex instanceof IllegalArgumentException)
if (ex instanceof IllegalArgumentException || ex instanceof CMSException)
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show();
else
Log.unexpectedError(getParentFragmentManager(), ex);

Loading…
Cancel
Save