Skip to content
Permalink
Browse files

enable sentry reporting with source code

Sentry needs to be recompiled to enable exception with source code:
https://github.com/getsentry/sentry-elixir#reporting-exceptions-with-source-code
  • Loading branch information...
achiurizo committed Jun 7, 2019
1 parent 294a5cf commit ebde3dad902c37f59154998fe8b088383557ae10
Showing with 3 additions and 1 deletion.
  1. +1 −0 Dockerfile
  2. +2 −1 mix.exs
@@ -70,6 +70,7 @@ RUN mix deps.clean --all
RUN mix deps.get

RUN mix compile
RUN mix sentry.recompile

USER root

@@ -52,7 +52,8 @@ defmodule OMG.Umbrella.MixProject do
"coveralls.detail": ["coveralls.detail --no-start"],
"coveralls.post": ["coveralls.post --no-start"],
"ecto.setup": ["ecto.create", "ecto.migrate", "run apps/omg_watcher/priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"]
"ecto.reset": ["ecto.drop", "ecto.setup"],
"sentry.recompile": ["deps.compile sentry --force"]
]
end

0 comments on commit ebde3da

Please sign in to comment.
You can’t perform that action at this time.