Skip to content

Commit

Permalink
improved logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
ern authored Jul 7, 2023
1 parent 8b8b622 commit 48faafb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void delete(T entity) {
try {
findById(entity.getId()).ifPresent(session::delete);
} catch (Exception e) {
log.error("Failed to delete the entity: " + he.getMessage());
log.warn("Could not delete entity [{}:{}], {}", entity.getClass().getName(), entity.getId(), e.toString());
}
}

Expand Down

0 comments on commit 48faafb

Please sign in to comment.