From 24703acf269c367fa05b0e4863090cbcfde39dc6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 15 Jun 2019 12:58:17 +0300 Subject: re-enable backtraces on panic --- crates/ra_lsp_server/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/ra_lsp_server/src') diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs index 7749d97d6..7ed35c24a 100644 --- a/crates/ra_lsp_server/src/main.rs +++ b/crates/ra_lsp_server/src/main.rs @@ -6,8 +6,7 @@ use ra_lsp_server::{Result, InitializationOptions}; use ra_prof; fn main() -> Result<()> { - // re-enable and verify on windows after #1400 - // std::env::set_var("RUST_BACKTRACE", "short"); + std::env::set_var("RUST_BACKTRACE", "short"); let logger = Logger::with_env_or_str("error").duplicate_to_stderr(Duplicate::All); match std::env::var("RA_LOG_DIR") { Ok(ref v) if v == "1" => logger.log_to_file().directory("log").start()?, -- cgit v1.2.3