TSK-1143 UpdateTask planned - comments from Holger

This commit is contained in:
BerndBreier 2020-03-09 12:02:52 +01:00
parent c2d974b02e
commit 403d57fc8a
1 changed files with 3 additions and 5 deletions

View File

@ -202,11 +202,9 @@ public class AttachmentHandler {
attachmentImpl);
} catch (PersistenceException e) {
throw new AttachmentPersistenceException(
"Cannot insert the Attachement "
+ attachmentImpl.getId()
+ " for Task "
+ newTaskImpl.getId()
+ " because it already exists.",
String.format(
"Cannot insert the Attachement %s for Task %s because it already exists.",
attachmentImpl.getId(), newTaskImpl.getId()),
e.getCause());
}
LOGGER.debug("exit from insertNewAttachmentOnTaskUpdate(), returning");