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:
parent
187d5db6b4
commit
581058f663
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue