diff --git a/src/client/voice/opus/OpusEngineList.js b/src/client/voice/opus/OpusEngineList.js index 447f0afdb..3b69cdaeb 100644 --- a/src/client/voice/opus/OpusEngineList.js +++ b/src/client/voice/opus/OpusEngineList.js @@ -9,7 +9,10 @@ function fetch(Encoder, engineOptions) { try { return new Encoder(engineOptions); } catch (err) { - return null; + if (err.message.includes('Cannot find module')) return null; + + // The Opus engine exists, but another error occurred. + throw err; } }