diff --git a/lib/oidcc/plug/introspect_token.ex b/lib/oidcc/plug/introspect_token.ex index 9859ad8..65aa479 100644 --- a/lib/oidcc/plug/introspect_token.ex +++ b/lib/oidcc/plug/introspect_token.ex @@ -130,6 +130,7 @@ defmodule Oidcc.Plug.IntrospectToken do |> send_inactive_token_response.(introspection) {:error, reason} -> + dbg reason raise Error, reason: reason end end diff --git a/lib/oidcc/plug/validate_jwt_token.ex b/lib/oidcc/plug/validate_jwt_token.ex index 2f8bf5f..0235f95 100644 --- a/lib/oidcc/plug/validate_jwt_token.ex +++ b/lib/oidcc/plug/validate_jwt_token.ex @@ -94,6 +94,7 @@ defmodule Oidcc.Plug.ValidateJwtToken do |> send_inactive_token_response.() {:error, reason} -> + dbg reason raise Error, reason: reason end end