From 804302ce612d3fa88d5057e63b446b43f4cb49a3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 29 Sep 2012 16:27:03 +0000 Subject: [PATCH] Merged r10413 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10521 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/load_default_data.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index a46082470..cc6774bce 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -26,9 +26,9 @@ namespace :redmine do Redmine::DefaultData::Loader.load(current_language) puts "Default configuration data loaded." rescue Redmine::DefaultData::DataAlreadyLoaded => error - puts error + puts error.message rescue => error - puts "Error: " + error + puts "Error: " + error.message puts "Default configuration data was not loaded." end end -- 2.39.5