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();
return false;
}
} catch (FileNotFoundException e) {
return false;
} catch (IOException e) {
return false;
} catch (NoSuchAlgorithmException e) {
} catch (IllegalArgumentException | IOException | NoSuchAlgorithmException e) {
return false;
} finally {
close(os);