Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Sep 10, 2024
1 parent 4d7f3c5 commit 1158795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/oidcc/plug/introspect_token.ex
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ defmodule Oidcc.Plug.IntrospectToken do
|> send_inactive_token_response.(introspection)

{:error, reason} ->
dbg reason

Check warning on line 133 in lib/oidcc/plug/introspect_token.ex

View workflow job for this annotation

GitHub Actions / Test / mix credo

There should be no calls to `dbg/1`.
raise Error, reason: reason
end
end
Expand Down
1 change: 1 addition & 0 deletions lib/oidcc/plug/validate_jwt_token.ex
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ defmodule Oidcc.Plug.ValidateJwtToken do
|> send_inactive_token_response.()

{:error, reason} ->
dbg reason

Check warning on line 97 in lib/oidcc/plug/validate_jwt_token.ex

View workflow job for this annotation

GitHub Actions / Test / mix credo

There should be no calls to `dbg/1`.
raise Error, reason: reason
end
end
Expand Down

0 comments on commit 1158795

Please sign in to comment.