diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Message.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Message.java b/src/main/java/de/pixart/messenger/entities/Message.java index 8193cbb4d..b82ae887b 100644 --- a/src/main/java/de/pixart/messenger/entities/Message.java +++ b/src/main/java/de/pixart/messenger/entities/Message.java @@ -708,6 +708,8 @@ public class Message extends AbstractEntity { extension = MimeUtils.extractRelevantExtension(url); } catch (MalformedURLException e) { return null; + } catch (Exception e) { + return null; } } return MimeUtils.guessMimeTypeFromExtension(extension); |