settle mail sending error logs

master
yixian 4 years ago
parent aa95a18890
commit 5bed230f08

@ -31,6 +31,7 @@ import au.com.royalpay.payment.tools.env.SysConfigManager;
import au.com.royalpay.payment.tools.exceptions.BadRequestException; import au.com.royalpay.payment.tools.exceptions.BadRequestException;
import au.com.royalpay.payment.tools.exceptions.ForbiddenException; import au.com.royalpay.payment.tools.exceptions.ForbiddenException;
import au.com.royalpay.payment.tools.exceptions.NotFoundException; import au.com.royalpay.payment.tools.exceptions.NotFoundException;
import au.com.royalpay.payment.tools.exceptions.ServerErrorException;
import au.com.royalpay.payment.tools.locale.LocaleSupport; import au.com.royalpay.payment.tools.locale.LocaleSupport;
import au.com.royalpay.payment.tools.lock.Locker; import au.com.royalpay.payment.tools.lock.Locker;
import au.com.royalpay.payment.tools.merchants.beans.BalanceGroup; import au.com.royalpay.payment.tools.merchants.beans.BalanceGroup;
@ -1469,9 +1470,11 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
} }
} }
} catch (IOException e) { } catch (IOException e) {
logger.error("生成excel字节数组发生错误"); logger.error("生成excel字节数组发生错误", e);
throw new ServerErrorException("IOError", e);
} catch (URISyntaxException e) { } catch (URISyntaxException e) {
logger.error("调用服务发送邮件时错误"); logger.error("调用服务发送邮件时错误", e);
throw new ServerErrorException("IOError", e);
} }
result.put("result", 0); result.put("result", 0);
result.put("msg", "已发送"); result.put("msg", "已发送");

Loading…
Cancel
Save