catch broken base64 in avatars

This commit is contained in:
Daniel Gultsch 2015-08-16 14:55:24 +02:00
parent 51a2645349
commit d7b3060fc8

View file

@ -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);