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 a new issue