From 4fb4199da3fd62119af3954fb2062bd020db365b Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 27 Sep 2014 14:06:49 -0500 Subject: [PATCH] fix error log message being colored green instead of red --- src/ec_cmd_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec_cmd_log.erl b/src/ec_cmd_log.erl index e61e67a..479b242 100644 --- a/src/ec_cmd_log.erl +++ b/src/ec_cmd_log.erl @@ -149,7 +149,7 @@ error(LogState, String) -> %% and argements @see io:format/2 -spec error(t(), string(), [any()]) -> ok. error(LogState, FormatString, Args) -> - log(LogState, ?EC_ERROR, colorize(LogState, ?GREEN, false, FormatString), Args). + log(LogState, ?EC_ERROR, colorize(LogState, ?RED, false, FormatString), Args). %% @doc log at the warn level given the current log state with a string or %% format string that returns a function