fix: 解决邮件发送错误,但是前端显示已发送的问题

This commit is contained in:
Tim
2026-01-16 11:12:20 +08:00
parent 72a915af2e
commit 21b1c3317a
9 changed files with 165 additions and 43 deletions

View File

@@ -0,0 +1,15 @@
package com.openisle.exception;
/**
* Thrown when email sending fails so callers can surface a clear error upstream.
*/
public class EmailSendException extends RuntimeException {
public EmailSendException(String message) {
super(message);
}
public EmailSendException(String message, Throwable cause) {
super(message, cause);
}
}