only send errors back to server

This commit is contained in:
Evan
2024-12-22 12:59:52 -08:00
parent 23b712623d
commit 240036a07c
+2 -2
View File
@@ -18,12 +18,12 @@ export function initRemoteSender(eventBus: EventBus) {
consolex.log = (...args: any[]): void => {
console.log(...args);
eventBus.emit(new SendLogEvent(LogSeverity.Info, args.join(' ')))
// eventBus.emit(new SendLogEvent(LogSeverity.Info, args.join(' ')))
}
consolex.warn = (...args: any[]): void => {
console.warn(...args);
eventBus.emit(new SendLogEvent(LogSeverity.Warn, args.join(' ')))
// eventBus.emit(new SendLogEvent(LogSeverity.Warn, args.join(' ')))
}
consolex.error = (...args: any[]): void => {