File tree Expand file tree Collapse file tree
src/main/java/com/moplus/moplus_server/domain/concept/repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,15 +15,17 @@ default void existsByIdElseThrow(Set<Long> ids) {
1515 .toList ();
1616
1717 if (ids .size () != foundIds .size ()) {
18- throw new NotFoundException (ErrorCode .CONCEPT_TAG_NOT_FOUND_IN_LIST );
18+ throw new NotFoundException (ErrorCode .CONCEPT_TAG_NOT_FOUND_IN_LIST ,
19+ "targetIds: " + ids + " / foundIds: " + foundIds );
1920 }
2021 }
2122
2223
2324 default List <ConceptTag > findAllByIdsElseThrow (Set <Long > ids ) {
2425 List <ConceptTag > conceptTags = findAllById (ids );
2526 if (conceptTags .size () != ids .size ()) {
26- throw new NotFoundException (ErrorCode .CONCEPT_TAG_NOT_FOUND_IN_LIST );
27+ throw new NotFoundException (ErrorCode .CONCEPT_TAG_NOT_FOUND_IN_LIST ,
28+ "targetIds: " + ids + " / foundIds: " + conceptTags );
2729 }
2830 return conceptTags ;
2931 }
You can’t perform that action at this time.
0 commit comments