From: Ian Jackson Date: Sun, 1 May 2022 16:02:58 +0000 (+0100) Subject: apitest: Add a bit of logging X-Git-Tag: otter-1.1.0~363 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7d747a8c6243330b8591be2808ef7406c4def019;p=otter.git apitest: Add a bit of logging Signed-off-by: Ian Jackson --- diff --git a/apitest/atmain.rs b/apitest/atmain.rs index 5cebde09..3bf74d90 100644 --- a/apitest/atmain.rs +++ b/apitest/atmain.rs @@ -324,8 +324,10 @@ impl Session { dbgc!(nick, k, &v); if let Some(y) = { if k != "Error" { + info!("update ok {} {:?}", k, v); f(self, new_gen, k, v) } else if let Some(ef) = &mut ef { + warn!("update error {:?}", v); ef(self, new_gen, v)? } else { panic!("synch error: {:?}", &(k, v));