diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index 24e1b05f..0aa7ab74 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -25,6 +25,8 @@ namespace :redmine do begin Redmine::DefaultData::Loader.load(current_language) puts "Default configuration data loaded." + rescue Redmine::DefaultData::DataAlreadyLoaded => error + puts error rescue => error puts "Error: " + error puts "Default configuration data was not loaded."