Skip to content

Commit

Permalink
Merge pull request #7004 from JingMa87/7003-bad-url
Browse files Browse the repository at this point in the history
#7003 Fix log formatting and in particular the OAI URL.
  • Loading branch information
kcondon committed Jun 22, 2020
2 parents 13e1a40 + a4b338a commit ab3ec5f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,12 @@ public void logGetRecord(Logger hdLogger, OaiHandler oaiHandler, String identifi
public void logGetRecordException(Logger hdLogger, OaiHandler oaiHandler, String identifier, Throwable e) {
String errMessage = "Exception processing getRecord(), oaiUrl="
+oaiHandler.getBaseOaiUrl()
+",identifier="
+", identifier="
+identifier
+" "
+", "
+e.getClass().getName()
//+" (exception message suppressed)";
+" "
+", "
+e.getMessage();

hdLogger.log(Level.SEVERE, errMessage);
Expand Down

0 comments on commit ab3ec5f

Please sign in to comment.