diff --git a/internal/spoa.go b/internal/spoa.go index 906ef47..2e111ed 100644 --- a/internal/spoa.go +++ b/internal/spoa.go @@ -96,6 +96,11 @@ func (s *SPOA) processInterruption(it *types.Interruption, code int) []spoe.Acti Scope: spoe.VarScopeTransaction, Value: it.RuleID, }, + spoe.ActionSetVar{ + Name: "fail", + Scope: spoe.VarScopeTransaction, + Value: code, + }, } }