diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/client/PatchBaseImageDownloader.java b/app/src/main/java/fr/gouv/etalab/mastodon/client/PatchBaseImageDownloader.java index 0374633ae..e2786d028 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/client/PatchBaseImageDownloader.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/client/PatchBaseImageDownloader.java @@ -67,7 +67,7 @@ public class PatchBaseImageDownloader extends BaseImageDownloader { } try { return new ContentLengthInputStream(new BufferedInputStream(conn.getInputStream(), BUFFER_SIZE), conn.getContentLength()); - }catch (FileNotFoundException e){ + }catch (Exception e){ return null; }