dont print the string if err
This commit is contained in:
parent
6313b56064
commit
1cf1701579
1 changed files with 6 additions and 3 deletions
|
@ -95,10 +95,13 @@ fn main() {
|
||||||
loaded_shinystats,
|
loaded_shinystats,
|
||||||
) {
|
) {
|
||||||
println!("{}", e);
|
println!("{}", e);
|
||||||
};
|
}
|
||||||
|
else {
|
||||||
// final string print
|
// final string print
|
||||||
println!("{}", encode_string(&out));
|
println!("{}", encode_string(&out))
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Err(e) => println!("{}", e),
|
Err(e) => println!("{}", e),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue