dbg: excessive logginggg
This commit is contained in:
parent
c88380067a
commit
d667014400
1 changed files with 21 additions and 21 deletions
42
src/lib.rs
42
src/lib.rs
|
@ -223,27 +223,27 @@ impl Client {
|
||||||
Ok(x) => {
|
Ok(x) => {
|
||||||
dbg!(&x);
|
dbg!(&x);
|
||||||
dbg!(&x.text().await);
|
dbg!(&x.text().await);
|
||||||
match x.json::<WolvesResultSingle<WolvesUserExists>>().await {
|
// match x.json::<WolvesResultSingle<WolvesUserExists>>().await {
|
||||||
Ok(y) => {
|
// Ok(y) => {
|
||||||
// this is the only time we will get a positive response, the None at the end catches everything else
|
// // this is the only time we will get a positive response, the None at the end catches everything else
|
||||||
match y.result {
|
// match y.result {
|
||||||
WolvesUserExists::B(e) => {dbg!(e);}
|
// WolvesUserExists::B(e) => {dbg!(e);}
|
||||||
WolvesUserExists::S(z) => {
|
// WolvesUserExists::S(z) => {
|
||||||
match z.parse::<i64>() {
|
// match z.parse::<i64>() {
|
||||||
Ok(id) => {
|
// Ok(id) => {
|
||||||
return Some(id);
|
// return Some(id);
|
||||||
}
|
// }
|
||||||
Err(e) => {
|
// Err(e) => {
|
||||||
dbg!(e);
|
// dbg!(e);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
Err(e) => {
|
// Err(e) => {
|
||||||
dbg!(e);
|
// dbg!(e);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
dbg!(e);
|
dbg!(e);
|
||||||
|
|
Loading…
Reference in a new issue