Skip to content

Commit

Permalink
use frame.delete for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrock-adam committed Mar 22, 2024
1 parent 8e476df commit 7e8100e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/outboxer/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def published!(id:)
"from #{message.status} to (deleted)"
end

message.exceptions.each { |exception| exception.frames.each(&:delete) }
message.exceptions.delete_all
message.delete

{ 'id' => id }
Expand Down

0 comments on commit 7e8100e

Please sign in to comment.