FrontendController: Return error on installation error.

This commit is contained in:
lain 2020-11-17 16:43:07 +01:00
commit bb9650f3c2
4 changed files with 26 additions and 4 deletions

View file

@ -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