Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Handle description errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mederic committed May 8, 2019
1 parent aea7344 commit 69eb8e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ defmodule AdminAPI.V1.BlockchainBalanceController do
render(conn, BalanceView, :balances, %Paginator{pagination: pagination, data: data})
else
{:error, error} -> handle_error(conn, error)
{:error, error, description} -> handle_error(conn, error, description)
end
end

Expand Down

0 comments on commit 69eb8e1

Please sign in to comment.