Skip to content

Commit 7ceef99

Browse files
committed
🥺🥺🥺
1 parent 8a3121f commit 7ceef99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/vavi/speech/aquestalk10/jsapi2/AquesTalk10EngineListFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public EngineList createEngineList(EngineMode require) {
4242
protected List<WrappedVoice<AQTK_VOICE>> geAlltVoices() {
4343
try {
4444
return AquesTalk10Voice.factory.getAllVoices();
45-
} catch (UnsatisfiedLinkError e) {
45+
} catch (Throwable e) {
4646
logger.log(Level.WARNING, "AquesTalk10 doesn't work on arm64", e);
4747
return Collections.emptyList();
4848
}

src/main/java/vavi/speech/voicevox/jsapi2/VoiceVoxVoice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public List<WrappedVoice<Voice>> getAllVoices() {
6969
static {
7070
try (VoiceVox voiceVox = new VoiceVox()) {
7171
nativeVoices.addAll(Arrays.asList(voiceVox.getAllVoices()));
72-
} catch (IOException e) {
72+
} catch (Throwable e) {
7373
logger.log(Level.WARNING, "no VoiceVox server found");
7474
}
7575
}

0 commit comments

Comments
 (0)