From 33a4232652a476c590dd522aeaf841c357d7705e Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Sat, 28 Apr 2018 14:30:14 +0200 Subject: [PATCH] fix(OpusEngineLinst): throw a descriptive error when not funding an opus engine --- src/client/voice/opus/OpusEngineList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/opus/OpusEngineList.js b/src/client/voice/opus/OpusEngineList.js index 01b6d289f..7fbec9ea4 100644 --- a/src/client/voice/opus/OpusEngineList.js +++ b/src/client/voice/opus/OpusEngineList.js @@ -24,5 +24,5 @@ exports.fetch = engineOptions => { if (fetched) return fetched; } - throw new Error('OPUS_ENGINE_MISSING'); + throw new Error('Couldn\'t find an Opus engine.'); };