From f38635095049a5a9837bd06943a2d81f50a03d34 Mon Sep 17 00:00:00 2001 From: Tom Bricaud Date: Thu, 15 Aug 2024 11:35:01 +0200 Subject: [PATCH] Fix data save commands backtrace --- crates/core/src/data_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/data_cache.rs b/crates/core/src/data_cache.rs index 3eb54e03..9f15b092 100644 --- a/crates/core/src/data_cache.rs +++ b/crates/core/src/data_cache.rs @@ -330,7 +330,7 @@ impl Data { .wrap_err("While serializing .luminol/commands")?; filesystem .write(".luminol/commands", command_db) - .wrap_err("While writing .luminol/config")?; + .wrap_err("While writing .luminol/commands")?; // even though Ini uses fmt::write internally, it provides no easy way to write to a string. // so we need to open a file instead