mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(packages/api): null errors being thrown
This commit is contained in:
@@ -123,7 +123,7 @@ export class ClientWebSocketManager {
|
|||||||
this.currentSequence++
|
this.currentSequence++
|
||||||
|
|
||||||
this.#socket.send(serializePacket(packet), err => {
|
this.#socket.send(serializePacket(packet), err => {
|
||||||
throw err
|
if (err) throw err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user