Skip to content

Commit

Permalink
fix bad action IO preventing other actions' satisfaction from being u…
Browse files Browse the repository at this point in the history
…pdated
  • Loading branch information
dermetfan committed Jan 30, 2023
1 parent ccd5e1d commit 1f9e250
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/application/service/action.go
Expand Up @@ -512,7 +512,11 @@ func (self actionService) UpdateSatisfaction(fact *domain.Fact) error {

for _, action := range actions {
if err := txSelf.updateSatisfaction(&action, fact); err != nil {
return err
txSelf.logger.Info().
AnErr("error", err).
Stringer("action", action.ID).
Stringer("fact", fact.ID).
Msg("Could not update satisfaction of this action with this fact")
}
}

Expand Down

0 comments on commit 1f9e250

Please sign in to comment.