summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2016-12-21 11:26:23 +0100
committerGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2016-12-21 11:26:23 +0100
commit569d114f5c85d9f329bdc10cba1fdb41f97e42d3 (patch)
tree0b1dd51a1f2427b31035f223d6d46b11d13518d2 /src
parenteafad5a84eb94bf7cb001ee932540f9de7d6a897 (diff)
downloadrabbitmq-server-git-569d114f5c85d9f329bdc10cba1fdb41f97e42d3.tar.gz
change error function with rabbit_log:error
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_upgrade.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_upgrade.erl b/src/rabbit_upgrade.erl
index 1ee7423404..95af84de39 100644
--- a/src/rabbit_upgrade.erl
+++ b/src/rabbit_upgrade.erl
@@ -99,7 +99,7 @@ ensure_backup_taken() ->
_ -> ok
end;
true ->
- error("Found lock file at ~s.
+ rabbit_log:error("Found lock file at ~s.
Either previous upgrade is in progress or has failed.
Database backup path: ~s",
[lock_filename(), backup_dir()]),