Skip to content

Commit 22b5d21

Browse files
committed
Update key name in Sentry.Event's integration meta
1 parent 4a64529 commit 22b5d21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/sentry/integrations/oban/error_reporter.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ defmodule Sentry.Integrations.Oban.ErrorReporter do
4343
],
4444
extra:
4545
Map.take(job, [:args, :attempt, :id, :max_attempts, :meta, :queue, :tags, :worker]),
46-
integration_meta: %{oban: %{job_meta: job}}
46+
integration_meta: %{oban: %{job: job}}
4747
)
4848

4949
:ok

test/sentry/integrations/oban/error_reporter_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ defmodule Sentry.Integrations.Oban.ErrorReporterTest do
4848
assert event.tags.oban_queue == "default"
4949
assert event.tags.oban_state == "available"
5050
assert event.tags.oban_worker == "Sentry.Integrations.Oban.ErrorReporterTest.MyWorker"
51-
assert %{job_meta: %Oban.Job{}} = event.integration_meta.oban
51+
assert %{job: %Oban.Job{}} = event.integration_meta.oban
5252
end
5353
end
5454
end

0 commit comments

Comments
 (0)