File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ pub fn init() -> Result<()> {
1717 "This is a bug. Consider reporting it at {}" ,
1818 env!( "CARGO_PKG_REPOSITORY" )
1919 ) )
20- . capture_span_trace_by_default ( false )
21- . display_location_section ( false )
20+ . capture_span_trace_by_default ( true )
21+ . display_location_section ( true )
2222 . display_env_section ( false )
2323 . into_hooks ( ) ;
2424 eyre_hook. install ( ) ?;
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ extern crate tuirealm;
6161#[ tokio:: main]
6262async fn main ( ) -> Result < ( ) > {
6363 set_global_service_name ( env ! ( "CARGO_PKG_NAME" ) ) ;
64+ crate :: errors:: init ( ) ?;
6465 crate :: logging:: init ( ) ?;
6566 CompleteEnv :: with_factory ( Cli :: command) . complete ( ) ;
6667
@@ -184,7 +185,6 @@ async fn main() -> Result<()> {
184185}
185186
186187fn run_tui ( tick_rate : f64 ) -> Result < ( ) > {
187- crate :: errors:: init ( ) ?;
188188 //we initialize the terminal early so the panic handler that restores the terminal is correctly set up
189189 let adapter = CrosstermTerminalAdapter :: new ( ) ?;
190190 let bridge = TerminalBridge :: init ( adapter) . expect ( "Cannot initialize terminal" ) ;
You can’t perform that action at this time.
0 commit comments