-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] 아바타 테마가 존재하지 않아 발생하는 에러 예외 처리 (#156)
* [refactor] 네이밍 변경: SpeechStrategy -> MakeSpeechStrategy * [fix] AvatarTheme 클래스에 정의되지 않은 테마로 요청했을때 발생하는 예외 방지 추후 아바타가 추가될때마다 AvatarTheme에 추가하고 서버를 재배포하는 것이 번거롭다고 생각하여 특정 조건으로 대사를 가져오는 아바타 테마만 AvatarTheme에 구현했습니다. 해당 이름의 아바타 테마가 존재하는지 확인하고, 존재하지 않으면 랜덤 대사를 가져오고, 존재하면 해당 테마에 맞는 방식으로 대사를 가져오도록 구현했습니다. * [refactor] 네이밍 변경: 아바타 대사 조회 메서드를 선택한다는 의미를 강조
- Loading branch information
Showing
7 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters