Skip to content

Commit 6b30120

Browse files
Update README.md
1 parent 39ad3ad commit 6b30120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ 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-
MyApp.Repo,
58-
MyApp.Web.Endpoint,
57+
supervisor(MyApp.Repo, []),
58+
supervisor(MyAppWeb.Endpoint, [])
5959
]
6060

6161
opts = [strategy: :one_for_one, name: MyApp.Supervisor]

0 commit comments

Comments
 (0)