Skip to content

Commit 4b6df94

Browse files
Merged in task/dspace-cris-2024_02_x/DSC-2736 (pull request DSpace#5369)
[DSC-2736] the flyway callable for site initialization throws a RuntimeException in case of failure Approved-by: Vincenzo Mecca
2 parents 3fb37c2 + 2c01e72 commit 4b6df94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dspace-api/src/main/java/org/dspace/storage/rdbms/SiteServiceInitializer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public void initializeSiteObject() {
6363
context.complete();
6464
} catch (Exception e) {
6565
log.error("Error attempting to add/update default Site object", e);
66+
throw new RuntimeException(e);
6667
} finally {
6768
// Clean up our context, if it still exists & it was never completed
6869
if (context != null && context.isValid()) {

0 commit comments

Comments
 (0)