Silence a couple of noisy logs (#26262)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
622ed8a032
commit
b0d1024f66
2 changed files with 3 additions and 6 deletions
|
@ -736,7 +736,7 @@ impl Element for MarkdownElement {
|
|||
markdown_end,
|
||||
);
|
||||
}
|
||||
_ => log::error!("unsupported markdown tag {:?}", tag),
|
||||
_ => log::debug!("unsupported markdown tag {:?}", tag),
|
||||
}
|
||||
}
|
||||
MarkdownEvent::End(tag) => match tag {
|
||||
|
@ -853,7 +853,7 @@ impl Element for MarkdownElement {
|
|||
MarkdownTagEnd::TableCell => {
|
||||
builder.pop_div();
|
||||
}
|
||||
_ => log::error!("unsupported markdown tag end: {:?}", tag),
|
||||
_ => log::debug!("unsupported markdown tag end: {:?}", tag),
|
||||
},
|
||||
MarkdownEvent::Text(parsed) => {
|
||||
builder.push_text(parsed, range.start);
|
||||
|
|
|
@ -3523,10 +3523,7 @@ impl MultiBufferSnapshot {
|
|||
) -> impl Iterator<Item = MultiBufferDiffHunk> + '_ {
|
||||
let query_range = range.start.to_point(self)..range.end.to_point(self);
|
||||
self.lift_buffer_metadata(query_range.clone(), move |buffer, buffer_range| {
|
||||
let Some(diff) = self.diffs.get(&buffer.remote_id()) else {
|
||||
log::debug!("no diff found for {:?}", buffer.remote_id());
|
||||
return None;
|
||||
};
|
||||
let diff = self.diffs.get(&buffer.remote_id())?;
|
||||
let buffer_start = buffer.anchor_before(buffer_range.start);
|
||||
let buffer_end = buffer.anchor_after(buffer_range.end);
|
||||
Some(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue