Collapsed catch block

This commit is contained in:
Tim Visée 2015-11-01 22:38:07 +01:00
parent aae78fe9ef
commit 6089d481a9

View File

@ -112,9 +112,7 @@ public class SendMailSSL {
if (file != null) if (file != null)
file.delete(); file.delete();
} catch (RuntimeException e) { } catch(Exception e) {
ConsoleLogger.showError("Some error occurred while trying to send a email to " + mail);
} catch (Exception e) {
ConsoleLogger.showError("Some error occurred while trying to send a email to " + mail); ConsoleLogger.showError("Some error occurred while trying to send a email to " + mail);
} }
} }