Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71c01eba authored by David Luhmer's avatar David Luhmer
Browse files

pass on ClassNotFound exception

parent f1b4e3f3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -256,13 +256,14 @@ public class NextcloudAPI {
     */
    public InputStream performNetworkRequest(NextcloudRequest request, InputStream requestBodyInputStream) throws Exception {
        InputStream os = null;
        Exception exception = null;
        Exception exception;
        try {
            ParcelFileDescriptor output = performAidlNetworkRequest(request, requestBodyInputStream);
            os = new ParcelFileDescriptor.AutoCloseInputStream(output);
            exception = deserializeObject(os);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
            //e.printStackTrace();
            exception = e;
        }

        // Handle Remote Exceptions