Merge pull request #9970 from emqx/fix-raise-macro-in-rule-engine

fix: the _EXP_ON_FAIL_ was not called on throw
This commit is contained in:
Xinyu Liu 2023-02-15 16:18:51 +08:00 committed by GitHub
commit 2f95b8451b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@
try (_EXP_)
catch
throw : Reason ->
_EXP_ON_FAIL_,
throw({_ERROR_CONTEXT_, Reason});
_EXCLASS_:_EXCPTION_:_ST_ ->
_EXP_ON_FAIL_,