Fix log message for setLogToDisplay

This commit is contained in:
Pablo Carranza Velez 2016-03-23 17:59:44 -03:00
parent adb7ef1140
commit d0f748379e

View File

@ -84,7 +84,7 @@ setLogToDisplay = (env, logMessage) ->
return false
else
if body.Data == true
logMessage("#{enable ? "Enabled" : "Disabled"} logs to display")
logMessage("#{if enable then "Enabled" else "Disabled"} logs to display")
return body.Data
.catch (err) ->
logMessage("Error setting log to display: #{err}", {error: err}, "Set log to display error")