We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0359f20 commit 825379aCopy full SHA for 825379a
src/mineflayer/mc-protocol.ts
@@ -31,7 +31,7 @@ customEvents.on('mineflayerBotCreated', () => {
31
}
32
33
const onClientError = (err, data) => {
34
- const error = new MinecraftProtocolError(`Minecraft protocol client error: ${err.message}`, err, data)
+ const error = new MinecraftProtocolError(`Minecraft protocol client error: ${String(err)}`, err, data)
35
reportError(error)
36
37
if (typeof bot._client['_events'].error === 'function') {
0 commit comments