chore: set log level & remove empty line

This commit is contained in:
appflowy 2023-03-13 15:16:41 +08:00
parent 85f36ad877
commit 25707edbdd
2 changed files with 1 additions and 2 deletions

View File

@ -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(),

View File

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