Print a stack trace on STMP error
This commit is contained in:
parent
6089d481a9
commit
67a40a6fd0
@ -113,6 +113,8 @@ public class SendMailSSL {
|
|||||||
file.delete();
|
file.delete();
|
||||||
|
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
|
// Print the stack trace
|
||||||
|
e.printStackTrace();
|
||||||
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user