mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
catch broken base64 in avatars
This commit is contained in:
parent
51a2645349
commit
d7b3060fc8
@ -358,11 +358,7 @@ public class FileBackend {
|
|||||||
file.delete();
|
file.delete();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} catch (FileNotFoundException e) {
|
} catch (IllegalArgumentException | IOException | NoSuchAlgorithmException e) {
|
||||||
return false;
|
|
||||||
} catch (IOException e) {
|
|
||||||
return false;
|
|
||||||
} catch (NoSuchAlgorithmException e) {
|
|
||||||
return false;
|
return false;
|
||||||
} finally {
|
} finally {
|
||||||
close(os);
|
close(os);
|
||||||
|
Loading…
Reference in New Issue
Block a user