Skip to content
Snippets Groups Projects
Commit 2f6fee1d authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Merge branch 'develop' into 'main'

New RELEASE

See merge request dariah-de/dariah-de-oai-pmh-services!78
parents 4d131377 b261beeb
No related branches found
No related tags found
No related merge requests found
Pipeline #338285 passed
......@@ -224,10 +224,12 @@ public class IdiomImages implements RecordDelivererInterface, RecordListDelivere
singleImageMetsMods.setRecord(conedaKorRecord);
} catch (ParserConfigurationException | SAXException | CrudClientException e) {
} catch (ParserConfigurationException | SAXException | JSONException | CrudClientException e) {
String errorMessage = "ERROR getting IDIOM METS record from TG-crud! " + e.getMessage();
String logMessage =
errorMessage + "! Maybe session ID in OAIPMH config needs to be re-newed?";
String logMessage = errorMessage;
if (e instanceof CrudClientException) {
logMessage += "! Maybe session ID in OAIPMH config needs to be re-newed?";
}
log.severe(logMessage);
throw new IOException(errorMessage);
}
......
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