Print a stack trace on STMP error
This commit is contained in:
@@ -113,6 +113,8 @@ public class SendMailSSL {
|
||||
file.delete();
|
||||
|
||||
} catch(Exception e) {
|
||||
// Print the stack trace
|
||||
e.printStackTrace();
|
||||
ConsoleLogger.showError("Some error occurred while trying to send a email to " + mail);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user