diff options
Diffstat (limited to 'angelsharkd/src/routes')
-rw-r--r-- | angelsharkd/src/routes/extensions/simple_deprov.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/angelsharkd/src/routes/extensions/simple_deprov.rs b/angelsharkd/src/routes/extensions/simple_deprov.rs index df818f0..6e7ca71 100644 --- a/angelsharkd/src/routes/extensions/simple_deprov.rs +++ b/angelsharkd/src/routes/extensions/simple_deprov.rs @@ -1,4 +1,5 @@ use libangelshark::{AcmRunner, Message, ParallelIterator}; +use log::error; use serde::Deserialize; use std::convert::Infallible; use warp::{ @@ -48,6 +49,11 @@ async fn remove_entries(entries: Entries, mut runner: AcmRunner) -> Result<impl .flatten() .collect(); + // Log errors for tracking. + for error in &errors { + error!("deprov error: {}", error); + } + Ok(reply::json(&errors)) } |