From 8ed22009d7b8dce958cbc107407cc720db0648df Mon Sep 17 00:00:00 2001 From: Gavin Heavyside Date: Sun, 15 Jun 2014 14:53:40 +0100 Subject: [PATCH] Use error-level logging for error --- lib/capistrano-deploytags/tasks/deploytags.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano-deploytags/tasks/deploytags.rake b/lib/capistrano-deploytags/tasks/deploytags.rake index 8c41373..62818e5 100644 --- a/lib/capistrano-deploytags/tasks/deploytags.rake +++ b/lib/capistrano-deploytags/tasks/deploytags.rake @@ -9,7 +9,7 @@ namespace :deploy do stage = fetch(:stage, false) unless branch && stage - warn 'capistrano-deploytags requires that :branch and :stage be defined' + error 'capistrano-deploytags requires that :branch and :stage be defined' raise 'define :branch and :stage' end