44
55mod backend;
66mod background;
7- mod console;
87mod compact;
98mod compression;
109mod config;
10+ mod console;
1111mod folder;
1212mod gui;
1313mod persistence;
@@ -19,7 +19,8 @@ fn setup_panic() {
1919 return ;
2020 }
2121
22- println ! ( r#"
22+ println ! (
23+ r#"
2324Oh dear, {app} has crashed. Sorry :(
2425
2526You can report this on the website at {website}/issues
@@ -30,13 +31,18 @@ you were doing - like what folder you were running it on.
3031#############################################################################
3132
3233App: {app}, Version: {ver}, Build Date: {date}, Hash: {hash}
33- "# , app = env!( "CARGO_PKG_NAME" ) , website = env!( "CARGO_PKG_HOMEPAGE" ) ,
34- ver = env!( "VERGEN_SEMVER" ) , date = env!( "VERGEN_BUILD_DATE" ) . to_string( ) , hash = env!( "VERGEN_SHA_SHORT" ) ) ;
34+ "# ,
35+ app = env!( "CARGO_PKG_NAME" ) ,
36+ website = env!( "CARGO_PKG_HOMEPAGE" ) ,
37+ ver = env!( "VERGEN_SEMVER" ) ,
38+ date = env!( "VERGEN_BUILD_DATE" ) . to_string( ) ,
39+ hash = env!( "VERGEN_SHA_SHORT" )
40+ ) ;
3541
3642 if let Some ( s) = e. payload ( ) . downcast_ref :: < & ' static str > ( ) {
37- println ! ( "panic: {}" , s) ;
43+ println ! ( "panic: {}" , s) ;
3844 } else {
39- println ! ( "panic: [mysteriously lacks a string representation]" ) ;
45+ println ! ( "panic: [mysteriously lacks a string representation]" ) ;
4046 }
4147
4248 println ! ( "\n Hit Enter to print the rest of the debug info." ) ;
0 commit comments