projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aliases for mix tasks
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
relay.ex
diff --git
a/lib/mix/tasks/pleroma/relay.ex
b/lib/mix/tasks/pleroma/relay.ex
index fbec473c5d36578fb12f41cbe7e4778d8eaae9e2..213ae24d206997e02ead0ec165dd9218bb2f7bc8 100644
(file)
--- 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
# 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
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
# 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
end
end
end