Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle exception while sending test email #1860

Merged
merged 6 commits into from
Apr 20, 2022
Merged

Conversation

ntdgy
Copy link

@ntdgy ntdgy commented Apr 19, 2022

Fix #1858
What this PR does?

  1. 在发送测试邮件之前进行相关检测,并对返回的报错信息进行处理

@CLAassistant
Copy link

CLAassistant commented Apr 19, 2022

CLA assistant check
All committers have signed the CLA.

@JohnNiang
Copy link
Member

/cc @halo-dev/sig-halo

@JohnNiang
Copy link
Member

/kind bug
/area core
/milestone 1.5.x

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 19, 2022
@f2c-ci-robot f2c-ci-robot bot added this to the 1.5.x milestone Apr 19, 2022
@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Apr 19, 2022
Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ntdgy ,我还剩下最后一个问题,请关注一下。

src/main/java/run/halo/app/mail/AbstractMailService.java Outdated Show resolved Hide resolved
@ntdgy
Copy link
Author

ntdgy commented Apr 19, 2022

已经在ControllerWxceptionHandler进行异常处理了。

Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ntdgy ,已经趋于完美了。不过还有两个小问题,有时间请看一下。

@JohnNiang
Copy link
Member

/retitle Handle exception while sending test email

@f2c-ci-robot f2c-ci-robot bot changed the title 添加邮件发送失败时的报错信息 Handle exception while sending test email Apr 19, 2022
Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your first contribution!

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Apr 20, 2022
Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 20, 2022
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Apr 20, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing, JohnNiang, ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [JohnNiang,guqing,ruibaby]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot merged commit 6d1fcc7 into halo-dev:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

邮件配置错误时可以先行进行测试并在网页返回报错信息
5 participants