We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3720b23 commit 7ab38ffCopy full SHA for 7ab38ff
src/main/java/com/back/domain/cocktail/service/CocktailService.java
@@ -34,7 +34,7 @@ public class CocktailService {
34
public Cocktail getCocktailById(Long id) {
35
36
return cocktailRepository.findById(id)
37
- .orElseThrow(() -> new IllegalArgumentException("User not found. id=" + id));
+ .orElseThrow(() -> new IllegalArgumentException("Cocktail not found. id=" + id));
38
}
39
40
// 칵테일 무한스크롤 조회
0 commit comments