Merge branch 'stable-2.14' into stable-2.15
* stable-2.14: PutConfig: add cause to ResourceConflictException RestSession: Remove unnecessary utility methods Change-Id: I3f099f905f3ef31a904e0fc823f3f40f09c4af31
This commit is contained in:
@@ -190,7 +190,7 @@ public class PutConfig implements RestModifyView<ProjectResource, ConfigInput> {
|
||||
"Cannot update " + projectName + ": " + e.getCause().getMessage());
|
||||
}
|
||||
log.warn("Failed to update config of project {}.", projectName, e);
|
||||
throw new ResourceConflictException("Cannot update " + projectName);
|
||||
throw new ResourceConflictException("Cannot update " + projectName, e);
|
||||
}
|
||||
|
||||
ProjectState state = projectStateFactory.create(projectConfig);
|
||||
|
||||
Reference in New Issue
Block a user