chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7485dc7
)
debug on add/remove occultation
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 27 Feb 2021 19:26:28 +0000
(19:26 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 27 Feb 2021 19:26:28 +0000
(19:26 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hidden.rs
patch
|
blob
|
history
diff --git
a/src/hidden.rs
b/src/hidden.rs
index 1143e45f22ca551e74162119ac1fcf1ad4bd699e..da3a757b7fbf1bc7ddb6ff50e4f837df8106c5d3 100644
(file)
--- 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![];