Skip to content

Commit

Permalink
fix query logging error
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Jul 23, 2024
1 parent 9279e25 commit 1de05dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/delete_orphaned_gbif_events_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def perform(env, options)
label = "DeleteOrphanedGbifEventsJob_#{Time.now.utc.strftime("%d%m%Y%H%M%S")}"

Rails.logger.info("#{label}: index_name: #{env}")
Rails.logger.info("#{label}: query: #{query}")
Rails.logger.info("#{label}: query: #{options[:query]}")

# response = Event.delete_by_query(index: env, query: options[:query])

Expand Down

0 comments on commit 1de05dd

Please sign in to comment.