소스 검색

chore: set log level & remove empty line

appflowy 2 년 전
부모
커밋
25707edbdd
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      frontend/appflowy_tauri/src-tauri/src/init.rs
  2. 0 1
      frontend/rust-lib/flowy-database/src/services/database_view/editor_manager.rs

+ 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;
-
     }
   }