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