Skip to content

Commit

Permalink
Raise error on duplicate event (#2436)
Browse files Browse the repository at this point in the history
Co-authored-by: Jane Sandberg <[email protected]>
  • Loading branch information
christinach and sandbergja authored Jul 31, 2024
1 parent 35c61f2 commit 8c42370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/aws_sqs_poller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def alma_job_status
end

def dump_event
@event ||= Event.create(
@event ||= Event.create!(
start: event_start,
finish: event_finish,
success: true,
Expand Down

0 comments on commit 8c42370

Please sign in to comment.