diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-08-30 13:15:00 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-09-02 23:12:31 +0200 |
commit | 53d2f53f0ade22ac2fb79d0b5a25b01dae0e06cf (patch) | |
tree | 35c89b97571326cd94b651fd2d304ee9bd26b3a9 /src/main/java/de/pixart | |
parent | c07eb6e4f68cd6fb77e708acea8580e70038bed4 (diff) |
broader exception catchers
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r-- | src/main/java/de/pixart/messenger/xmpp/jingle/JingleInbandTransport.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/xmpp/jingle/JingleInbandTransport.java b/src/main/java/de/pixart/messenger/xmpp/jingle/JingleInbandTransport.java index e8b7d45d8..4e45c2a03 100644 --- a/src/main/java/de/pixart/messenger/xmpp/jingle/JingleInbandTransport.java +++ b/src/main/java/de/pixart/messenger/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(); |