remove error log reporting from backend

This commit is contained in:
Keagan McClelland
2022-02-10 13:02:28 -07:00
parent 7ac139c856
commit cdaf57713f
9 changed files with 11 additions and 192 deletions

View File

@@ -20,7 +20,7 @@ fn inner_main() -> Result<(), Error> {
.arg(Arg::with_name("host").long("host").short("h").takes_value(true))
.arg(Arg::with_name("proxy").long("proxy").short("p").takes_value(true)),
context: matches => {
EmbassyLogger::no_sharing();
EmbassyLogger::init();
CliContext::init(matches)?
},
exit: |e: RpcError| {

View File

@@ -195,7 +195,7 @@ fn main() {
)
.get_matches();
EmbassyLogger::no_sharing();
EmbassyLogger::init();
let cfg_path = matches.value_of("config");
let res = {

View File

@@ -17,7 +17,7 @@ fn inner_main() -> Result<(), Error> {
.takes_value(true),
),
context: matches => {
EmbassyLogger::no_sharing();
EmbassyLogger::init();
SdkContext::init(matches)?
},
exit: |e: RpcError| {