mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
fixup: dont panic on errors
This commit is contained in:
committed by
holger krekel
parent
b2a6876a50
commit
64a0718032
@@ -504,7 +504,9 @@ pub unsafe fn dc_kml_parse(
|
||||
Ok(quick_xml::events::Event::End(ref e)) => kml_endtag_cb(e, &mut kml),
|
||||
Ok(quick_xml::events::Event::Text(ref e)) => kml_text_cb(e, &mut kml, &reader),
|
||||
Err(e) => {
|
||||
panic!(
|
||||
error!(
|
||||
context,
|
||||
0,
|
||||
"Location parsing: Error at position {}: {:?}",
|
||||
reader.buffer_position(),
|
||||
e
|
||||
|
||||
Reference in New Issue
Block a user