Always report unexpected errors

This commit is contained in:
M66B
2018-12-01 10:47:08 +01:00
parent fe60acee7c
commit ce88d04a0f
11 changed files with 115 additions and 1 deletions

View File

@@ -149,6 +149,11 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
EntityAttachment.getFile(context, attachment.id).delete();
return null;
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(context, ex);
}
}.load(context, owner, args);
} else if (view.getId() == R.id.ivSave) {
@@ -256,6 +261,11 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
return null;
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(context, ex);
}
}.load(context, owner, args);
}
}