Skip to content
Snippets Groups Projects
Commit 0f8f28e1 authored by felmer's avatar felmer
Browse files

SP-853, CCS-50: Improve error message in case of failed maintenance task set up

SVN: 29708
parent 15c4db3b
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,14 @@ public class MaintenancePlugin ...@@ -45,7 +45,14 @@ public class MaintenancePlugin
} }
// The following order is important because only after set up the task knows whether it // The following order is important because only after set up the task knows whether it
// needs a lock or not. // needs a lock or not.
task.setUp(parameters.getPluginName(), parameters.getProperties()); try
{
task.setUp(parameters.getPluginName(), parameters.getProperties());
} catch (Throwable t)
{
throw new ConfigurationFailureException("Set up of maintenance task '" + parameters.getPluginName()
+ "' failed: " + t.getMessage(), t);
}
this.requiresDataStoreLock = requiresDataStoreLock(); this.requiresDataStoreLock = requiresDataStoreLock();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment