diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-08-30 13:15:00 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-08-30 13:15:00 +0200 |
commit | 7917c19d1853c890d08985d29c709f53ec8ae54b (patch) | |
tree | 5506586a71201edf400a38d7cab7900a4427539a /src/main/java/eu | |
parent | 3685c8cd2a705d38d84f72fe363677e7a40d1043 (diff) |
broader exception catchers
Diffstat (limited to 'src/main/java/eu')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/jingle/JingleInbandTransport.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleInbandTransport.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleInbandTransport.java index 0b0cb408..38a201bd 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleInbandTransport.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleInbandTransport.java @@ -209,7 +209,7 @@ public class JingleInbandTransport extends JingleTransport { } else { connection.updateProgress((int) ((((double) (this.fileSize - this.remainingSize)) / this.fileSize) * 100)); } - } catch (IOException e) { + } catch (Exception e) { Log.d(Config.LOGTAG,account.getJid().toBareJid()+": "+e.getMessage()); FileBackend.close(fileOutputStream); this.onFileTransmissionStatusChanged.onFileTransferAborted(); |