Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit c0a651b

Browse files
author
sowerstl
committed
Update DOI Registration exception message; (DOECODE-544)
1 parent 44e50be commit c0a651b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/gov/osti/services/Metadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ private Response doSubmit(String json, InputStream file, FormDataContentDisposit
15581558
// tell why the DataCite registration failed
15591559
log.warn("DataCite ERROR: " + e.getMessage());
15601560
return ErrorResponse
1561-
.internalServerError("DOI registration failed. Please try again later.")
1561+
.internalServerError("The DOI registration service is currently unavailable, please try to submit your record later. If the issue persists, please contact [email protected].")
15621562
.build();
15631563
}
15641564
}
@@ -1754,7 +1754,7 @@ private Response doAnnounce(String json, InputStream file, FormDataContentDispos
17541754
// if DataCite registration failed, say why
17551755
log.warn("DataCite ERROR: " + e.getMessage());
17561756
return ErrorResponse
1757-
.internalServerError("DOI registration failed. Please try again later.")
1757+
.internalServerError("The DOI registration service is currently unavailable, please try to submit your record later. If the issue persists, please contact [email protected].")
17581758
.build();
17591759
}
17601760
}

0 commit comments

Comments
 (0)