diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-17 18:38:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-09-17 18:38:54 +0000 |
commit | 581058f6636570c12b5f0b583ae558325f913fff (patch) | |
tree | 795c36d6f8caba8fe450b44a8a1b01ae420891b0 /lib | |
parent | 187d5db6b4a2659145607d6854cf32bae585e0fe (diff) | |
download | redmine-581058f6636570c12b5f0b583ae558325f913fff.tar.gz redmine-581058f6636570c12b5f0b583ae558325f913fff.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/load_default_data.rake | 4 |
1 files 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 |