Do not panic on SystemTimeDifference

This commit is contained in:
Alexander Krotov
2019-12-15 18:34:49 +01:00
committed by holger krekel
parent 697cc0a79b
commit 8d3e536582

View File

@@ -241,7 +241,7 @@ impl Imap {
"IMAP-fake-IDLE done after {:.4}s",
SystemTime::now()
.duration_since(fake_idle_start_time)
.unwrap()
.unwrap_or_default()
.as_millis() as f64
/ 1000.,
);