User facing exception

This commit is contained in:
M66B 2020-03-07 08:31:44 +01:00
parent 90ed27d328
commit 323b009bb2
1 changed files with 1 additions and 1 deletions

View File

@ -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);