More Time Debugging via Print
This commit is contained in:
parent
767f9652dd
commit
4109efc3c3
1 changed files with 4 additions and 0 deletions
|
@ -194,6 +194,8 @@ fn run_bot() {
|
|||
loop {
|
||||
println!("Start Time: {}", this.start_time.time());
|
||||
println!("Previous Time: {}", old);
|
||||
println!("Difference Start - Old: {}", this.start_time.time() - old);
|
||||
println!("Difference Now - Start: {}", Utc::now().time() - this.start_time.time());
|
||||
this.idle();
|
||||
// 3 retries in case of connection issues
|
||||
let mut loop_breaker: u8 = 0;
|
||||
|
@ -208,6 +210,8 @@ fn run_bot() {
|
|||
this.print_info();
|
||||
println!("Start Time: {}", this.start_time.time());
|
||||
println!("Previous Time: {}", old);
|
||||
println!("Difference: {}", this.start_time.time() - old);
|
||||
println!("Difference Now - Start: {}", Utc::now().time() - this.start_time.time());
|
||||
this.idle();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue