Skip to content

Commit 41c56c8

Browse files
bors[bot]matklad
andcommitted
Merge #1405
1405: re-enable backtraces on panic r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 257a15b + 24703ac commit 41c56c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/ra_lsp_server/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ use ra_lsp_server::{Result, InitializationOptions};
66
use ra_prof;
77

88
fn main() -> Result<()> {
9-
// re-enable and verify on windows after #1400
10-
// std::env::set_var("RUST_BACKTRACE", "short");
9+
std::env::set_var("RUST_BACKTRACE", "short");
1110
let logger = Logger::with_env_or_str("error").duplicate_to_stderr(Duplicate::All);
1211
match std::env::var("RA_LOG_DIR") {
1312
Ok(ref v) if v == "1" => logger.log_to_file().directory("log").start()?,

0 commit comments

Comments
 (0)