mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
fix(OpusEngineLinst): throw a descriptive error when not funding an opus engine
This commit is contained in:
parent
d9a091f674
commit
33a4232652
1 changed files with 1 additions and 1 deletions
|
|
@ -24,5 +24,5 @@ exports.fetch = engineOptions => {
|
||||||
if (fetched) return fetched;
|
if (fetched) return fetched;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new Error('OPUS_ENGINE_MISSING');
|
throw new Error('Couldn\'t find an Opus engine.');
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue