From: Ian Jackson Date: Sat, 27 Feb 2021 19:26:28 +0000 (+0000) Subject: debug on add/remove occultation X-Git-Tag: otter-0.4.0~300 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d6ad53c714df30858b15ef36d98be71368fa6e71;p=otter.git debug on add/remove occultation Signed-off-by: Ian Jackson --- diff --git a/src/hidden.rs b/src/hidden.rs index 1143e45f..da3a757b 100644 --- a/src/hidden.rs +++ b/src/hidden.rs @@ -503,7 +503,8 @@ pub fn create_occultation( occulter, views, pieces: default(), - }; + }; + debug!("creating occultation {:?}", &occultation); // Everything from here on must be undone if we get an error // but we hope not to get one... @@ -566,6 +567,7 @@ pub fn remove_occultation( goccults.occults.remove(occid).ok_or_else( || internal_logic_error("removing nonexistent occultation")) ); + debug!("removing occultation {:?}", &occultation); let mut updates = vec![];