FrontendController: Return error on installation error.
This commit is contained in:
parent
f69fe36ebf
commit
bb9650f3c2
4 changed files with 26 additions and 4 deletions
|
|
@ -42,9 +42,11 @@ defmodule Pleroma.Frontend do
|
|||
else
|
||||
{:download_or_unzip, _} ->
|
||||
Logger.info("Could not download or unzip the frontend")
|
||||
{:error, "Could not download or unzip the frontend"}
|
||||
|
||||
_e ->
|
||||
Logger.info("Could not install the frontend")
|
||||
{:error, "Could not install the frontend"}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue