Small improvement

This commit is contained in:
M66B 2019-08-06 08:01:53 +02:00
parent ddae17a8d2
commit eb405aaded
1 changed files with 1 additions and 1 deletions

View File

@ -3673,7 +3673,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 FileNotFoundException)
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show();
else
Helper.unexpectedError(getFragmentManager(), ex);