mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
Fix: Prevent console logging of OperationError
Bumps version to 1.0.0-alpha.4.
This commit is contained in:
parent
96f51a5bd7
commit
fa61273d5b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "linebridge",
|
"name": "linebridge",
|
||||||
"version": "1.0.0-alpha.3",
|
"version": "1.0.0-alpha.4",
|
||||||
"description": "Multiproposal framework to build fast, scalable, and secure servers.",
|
"description": "Multiproposal framework to build fast, scalable, and secure servers.",
|
||||||
"author": "RageStudio <support@ragestudio.net>",
|
"author": "RageStudio <support@ragestudio.net>",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
@ -90,7 +90,10 @@ class RTEngineNG {
|
|||||||
client.error("Event handler not found")
|
client.error("Event handler not found")
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
if (!(error instanceof OperationError)) {
|
||||||
console.log(`[ws] 500 /${message?.event ?? "unknown"} >`, error)
|
console.log(`[ws] 500 /${message?.event ?? "unknown"} >`, error)
|
||||||
|
}
|
||||||
|
|
||||||
client.error(error)
|
client.error(error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user