diff --git a/src/dc_location.rs b/src/dc_location.rs index d67c94b6e..5c15c1ca5 100644 --- a/src/dc_location.rs +++ b/src/dc_location.rs @@ -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