Skip to content

Commit 39ad3ad

Browse files
Merge pull request #236 from dustinfarris/patch-1
Update README.md
2 parents e83dac4 + 925a0d5 commit 39ad3ad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ To set this up, add `:ok = :error_logger.add_report_handler(Sentry.Logger)` to y
5454
```elixir
5555
def start(_type, _opts) do
5656
children = [
57-
supervisor(Task.Supervisor, [[name: Sentry.TaskSupervisor]]),
58-
:hackney_pool.child_spec(Sentry.Client.hackney_pool_name(), [timeout: Config.hackney_timeout(), max_connections: Config.max_hackney_connections()])
57+
MyApp.Repo,
58+
MyApp.Web.Endpoint,
5959
]
60-
opts = [strategy: :one_for_one, name: Sentry.Supervisor]
60+
61+
opts = [strategy: :one_for_one, name: MyApp.Supervisor]
6162

6263
:ok = :error_logger.add_report_handler(Sentry.Logger)
6364

0 commit comments

Comments
 (0)