Add debug line

This commit is contained in:
Olivier 'reivilibre' 2022-04-01 22:47:54 +01:00
parent e2c2adefa2
commit 00f05256e5
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ use quickpeep_structs::rake_entries::{RakedReference, ReferenceKind};
use quickpeep_utils::dates::date_to_quickpeep_days; use quickpeep_utils::dates::date_to_quickpeep_days;
use reqwest::Url; use reqwest::Url;
use std::collections::BTreeSet; use std::collections::BTreeSet;
use log::debug;
pub fn find_references( pub fn find_references(
doc: &Vec<DenseTree>, doc: &Vec<DenseTree>,
@ -45,6 +46,8 @@ pub fn find_references(
kind: ReferenceKind::Link, kind: ReferenceKind::Link,
last_mod: None, last_mod: None,
}); });
} else {
debug!("Can't join {:?} + {:?} to get full URL", page_url, href);
} }
} }
add_link_refs(children, refs, page_url); add_link_refs(children, refs, page_url);