Wrapping up bedrock implementation
This commit is contained in:
@@ -7,9 +7,9 @@ use std::{
|
||||
|
||||
use anyhow::Result;
|
||||
use chrono::Local;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use log::LevelFilter;
|
||||
use std::sync::OnceLock;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use zip::{CompressionMethod, ZipWriter, write::SimpleFileOptions};
|
||||
|
||||
use crate::{LogConfig, LogDestination};
|
||||
|
||||
@@ -170,9 +170,9 @@ impl Log for WasmLogger {
|
||||
.map_or_else(|| "[Unknown]".to_string(), |line| line.to_string()),
|
||||
);
|
||||
// Send error logs to Sentry.
|
||||
galaxy_web_event_bus::emit_event(galaxy_web_event_bus::WarpEvent::ErrorLogged {
|
||||
error,
|
||||
});
|
||||
galaxy_web_event_bus::emit_event(
|
||||
galaxy_web_event_bus::WarpEvent::ErrorLogged { error },
|
||||
);
|
||||
|
||||
console::error_4(
|
||||
&s,
|
||||
|
||||
Reference in New Issue
Block a user