mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 23:37:45 +00:00
PushNetworkException for network errors on external downloads.
Closes #2112 Fixes #1264 // FREEBIE
This commit is contained in:

committed by
Moxie Marlinspike

parent
5e61161767
commit
a9637baddf
@@ -368,6 +368,8 @@ public class PushServiceSocket {
|
|||||||
|
|
||||||
output.close();
|
output.close();
|
||||||
Log.w("PushServiceSocket", "Downloaded: " + url + " to: " + localDestination.getAbsolutePath());
|
Log.w("PushServiceSocket", "Downloaded: " + url + " to: " + localDestination.getAbsolutePath());
|
||||||
|
} catch (IOException ioe) {
|
||||||
|
throw new PushNetworkException(ioe);
|
||||||
} finally {
|
} finally {
|
||||||
connection.disconnect();
|
connection.disconnect();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user