mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 17:44:50 +00:00
fix: prerelease fixes (#5793)
This commit is contained in:
@@ -198,11 +198,13 @@ export function useServerManageCoreRuntime(options: UseServerManageCoreRuntimeOp
|
||||
|
||||
const handleLog = (data: Archon.Websocket.v0.WSLogEvent) => {
|
||||
if (!shouldProcessEvent()) return
|
||||
modrinthServersConsole.recordWsEvent({ event: 'log', ...data })
|
||||
modrinthServersConsole.addLegacyLog(data.message)
|
||||
}
|
||||
|
||||
const handleLog4j = (data: Archon.Websocket.v0.WSLog4jEvent) => {
|
||||
if (!shouldProcessEvent()) return
|
||||
modrinthServersConsole.recordWsEvent({ event: 'log4j', ...data })
|
||||
modrinthServersConsole.addLog4jEvent(data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user