File tree Expand file tree Collapse file tree
src/run/runner/valgrind/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,12 +8,16 @@ fn get_python_objects() -> Vec<String> {
88 . output ( ) ;
99
1010 if output. is_err ( ) {
11- debug ! ( "Failed to get python shared objects: {:?}" , output. err( ) ) ;
11+ let err = output. err ( ) . unwrap ( ) . to_string ( ) ;
12+ debug ! ( "Failed to get python shared objects: {}" , err) ;
1213 return vec ! [ ] ;
1314 }
1415 let output = output. unwrap ( ) ;
1516 if !output. status . success ( ) {
16- debug ! ( "Failed to get python shared objects: {:?}" , output. stderr) ;
17+ debug ! (
18+ "Failed to get python shared objects: {}" ,
19+ String :: from_utf8_lossy( & output. stderr)
20+ ) ;
1721 return vec ! [ ] ;
1822 }
1923
@@ -33,7 +37,10 @@ fn get_node_objects() -> Vec<String> {
3337 }
3438 let output = output. unwrap ( ) ;
3539 if !output. status . success ( ) {
36- debug ! ( "Failed to get node shared objects: {:?}" , output. stderr) ;
40+ debug ! (
41+ "Failed to get node shared objects: {}" ,
42+ String :: from_utf8_lossy( & output. stderr)
43+ ) ;
3744 return vec ! [ ] ;
3845 }
3946 let so_output = String :: from_utf8_lossy ( & output. stdout ) . trim ( ) . to_string ( ) ;
You can’t perform that action at this time.
0 commit comments