image/loading: Display first error, ignore second
Usually the first error is the relevant one. So show this one. Why we get more than one error at all is a bit unclear.
This commit is contained in:
parent
8b4beadcd9
commit
296817abe4
2 changed files with 7 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ impl Svg {
|
|||
let (wakeup, wakeup_resv) = mpsc::unbounded();
|
||||
|
||||
updater.clone().spawn_error_handled(async move {
|
||||
log::trace!("Setting up SVG loader");
|
||||
let mut loader = glycin::Loader::new(file);
|
||||
|
||||
#[cfg(feature = "disable-glycin-sandbox")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue