diff --git a/core/appeal/service.go b/core/appeal/service.go index 105158396..42afd5254 100644 --- a/core/appeal/service.go +++ b/core/appeal/service.go @@ -693,6 +693,7 @@ func (s *Service) Patch(ctx context.Context, appeal *domain.Appeal, opts ...Crea } } + s.logger.Error(ctx, "modified appeal: %w", appeal) if err := s.repo.UpdateByID(ctx, appeal); err != nil { return fmt.Errorf("error saving appeal to db: %w", err) } @@ -702,6 +703,7 @@ func (s *Service) Patch(ctx context.Context, appeal *domain.Appeal, opts ...Crea return err } + s.logger.Error(ctx, "audit log: %w", log) if err := s.auditLogger.Log(ctx, AuditKeyUpdateAppeal, log); err != nil { s.logger.Error(ctx, "failed to record audit log", "error", err) }