2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-22 09:57:29 +00:00

Merge pull request #6445 from davidjb/onbeforeissue-error-handling

Run post hook when `_on_before_issue()` errors
This commit is contained in:
neil 2025-07-13 12:07:45 +08:00 committed by GitHub
commit 365ec1fd5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4502,6 +4502,7 @@ issue() {
if ! _on_before_issue "$_web_roots" "$_main_domain" "$_alt_domains" "$_pre_hook" "$_local_addr"; then if ! _on_before_issue "$_web_roots" "$_main_domain" "$_alt_domains" "$_pre_hook" "$_local_addr"; then
_err "_on_before_issue." _err "_on_before_issue."
_on_issue_err "$_post_hook"
return 1 return 1
fi fi