Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commitaa91521

Browse files
authored
fix(sentry): add fallback build (#445)
* fix(sentry): add fallback build* fix(sentry): upgrade to 8.x
1 parentfb1bbe9 commitaa91521

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

‎lib/groupher_server_web/endpoint.ex‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
defmoduleGroupherServerWeb.Endpointdo
2+
useSentry.PlugCapture
23
usePhoenix.Endpoint,otp_app::groupher_server
34

45
socket("/socket",GroupherServerWeb.UserSocket)
@@ -13,6 +14,7 @@ defmodule GroupherServerWeb.Endpoint do
1314
json_decoder:Jason
1415
)
1516

17+
plug(Sentry.PlugContext)
1618
plug(Plug.MethodOverride)
1719
plug(Plug.Head)
1820

‎lib/groupher_server_web/router.ex‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ defmodule GroupherServerWeb.Router do
22
@moduledocfalse
33

44
useGroupherServerWeb,:router
5-
usePlug.ErrorHandler
6-
useSentry.Plug
75

86
pipeline:apido
97
plug(:accepts,["json"])

‎mix.exs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ defmodule GroupherServer.Mixfile do
135135
"doc.report":["inch.report"],
136136
lint:["credo --strict"],
137137
"lint.static":["dialyzer --format dialyxir"],
138-
"cps.seeds":["run priv/mock/cps_seeds.exs"]
138+
"cps.seeds":["run priv/mock/cps_seeds.exs"],
139+
sentry_recompile:["compile","deps.compile sentry --force"]
139140
]
140141
end
141142
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp