aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks/pleroma/relay.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-08 17:40:40 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-08 17:40:40 +0300
commitd7ec0898e5aa7acae463760fd85d1ebf8307b4f9 (patch)
tree35a30d91ca93ce74909b707f8b5a38e166c2d94b /lib/mix/tasks/pleroma/relay.ex
parent4b98a7ce4ef4b4e7b74f533e6d6ed343e1b34c48 (diff)
downloadpleroma-d7ec0898e5aa7acae463760fd85d1ebf8307b4f9.tar.gz
Make mix tasks work in a release
Diffstat (limited to 'lib/mix/tasks/pleroma/relay.ex')
-rw-r--r--lib/mix/tasks/pleroma/relay.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/pleroma/relay.ex b/lib/mix/tasks/pleroma/relay.ex
index fbec473c5..213ae24d2 100644
--- a/lib/mix/tasks/pleroma/relay.ex
+++ b/lib/mix/tasks/pleroma/relay.ex
@@ -30,7 +30,7 @@ defmodule Mix.Tasks.Pleroma.Relay do
# put this task to sleep to allow the genserver to push out the messages
:timer.sleep(500)
else
- {:error, e} -> Mix.shell().error("Error while following #{target}: #{inspect(e)}")
+ {:error, e} -> Common.shell_error("Error while following #{target}: #{inspect(e)}")
end
end
@@ -41,7 +41,7 @@ defmodule Mix.Tasks.Pleroma.Relay do
# put this task to sleep to allow the genserver to push out the messages
:timer.sleep(500)
else
- {:error, e} -> Mix.shell().error("Error while following #{target}: #{inspect(e)}")
+ {:error, e} -> Common.shell_error("Error while following #{target}: #{inspect(e)}")
end
end
end