Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
0f8f28e1
Commit
0f8f28e1
authored
11 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/source/java/ch/systemsx/cisd/common/maintenance/MaintenancePlugin.java
+8
-1
8 additions, 1 deletion
...h/systemsx/cisd/common/maintenance/MaintenancePlugin.java
with
8 additions
and
1 deletion
common/source/java/ch/systemsx/cisd/common/maintenance/MaintenancePlugin.java
+
8
−
1
View file @
0f8f28e1
...
@@ -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
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment