Fixed: load_default_data task fails to print the error message if one occurs (#11844).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10413 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-09-17 18:38:54 +00:00
parent 187d5db6b4
commit 581058f663
1 changed files with 2 additions and 2 deletions

View File

@ -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