Skip to content

Commit 3ebd97a

Browse files
authored
Fix example of using Task.Supervisor in upgrade guide (#652)
1 parent dad08d6 commit 3ebd97a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/upgrade-9.x.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ you can now replace it with something like:
128128
{:ok, _} = Task.Supervisor.start_link(name: SentryAsyncSupervisor)
129129

130130
{:ok, sentry_task} =
131-
Task.Supervisor.async_nolink(fn ->
131+
Task.Supervisor.async_nolink(SentryAsyncSupervisor, fn ->
132132
Sentry.capture_exception(my_exception, result: :async)
133133
end)
134134

0 commit comments

Comments
 (0)