Browse Source

chore: set log level & remove empty line

appflowy 2 năm trước cách đây
mục cha
commit
25707edbdd

+ 1 - 1
frontend/appflowy_tauri/src-tauri/src/init.rs

@@ -10,7 +10,7 @@ pub fn init_flowy_core() -> AppFlowyCore {
     }
     data_path.push("data");
 
-    std::env::set_var("RUST_LOG", "trace");
+    std::env::set_var("RUST_LOG", "debug");
     let server_config = get_client_server_configuration().unwrap();
     let config = AppFlowyCoreConfig::new(
         data_path.to_str().unwrap(),

+ 0 - 1
frontend/rust-lib/flowy-database/src/services/database_view/editor_manager.rs

@@ -66,7 +66,6 @@ impl DatabaseViews {
   pub async fn close(&self, view_id: &str) {
     if let Some(view_editor) = self.view_editors.write().await.remove(view_id) {
       view_editor.close().await;
-
     }
   }