Skip to content

Commit

Permalink
better error message for replacing metadata #894
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Oct 21, 2014
1 parent f181c0d commit b0a757b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public DepositReceipt replaceMetadata(String uri, Deposit deposit, AuthCredentia
SwordEntry swordEntry = deposit.getSwordEntry();
logger.fine("deposit XML received by replaceMetadata():\n" + swordEntry);
} catch (ParseException ex) {
throw new SwordError(UriRegistry.ERROR_BAD_REQUEST, "Can not create dataset due to malformed Atom entry: " + ex);
throw new SwordError(UriRegistry.ERROR_BAD_REQUEST, "Can not replace dataset metadata due to malformed Atom entry: " + ex);
}

String globalId = urlManager.getTargetIdentifier();
Expand Down

0 comments on commit b0a757b

Please sign in to comment.