We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6526829 + 8c163ae commit b58a4aaCopy full SHA for b58a4aa
1 file changed
lib/code_corps_web/controllers/fallback_controller.ex
@@ -40,7 +40,7 @@ defmodule CodeCorpsWeb.FallbackController do
40
Logger.info message
41
conn
42
|> put_status(500)
43
- |> render(CodeCorpsWeb.ErrorView, "500.json", message: "An unknown error occurred with Stripe's API.")
+ |> render(CodeCorpsWeb.ErrorView, "500.json", message: message)
44
end
45
def call(%Conn{} = conn, {:error, %CodeCorps.GitHub.APIError{message: message}}) do
46
0 commit comments