From 08a273ae6b526a52fcc4be308df61d844d52e42e Mon Sep 17 00:00:00 2001 From: Jack Lavigne Date: Mon, 28 Oct 2024 10:13:34 +0100 Subject: [PATCH] chore: add extra logging info --- src/wasm/src/download/downloader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm/src/download/downloader.rs b/src/wasm/src/download/downloader.rs index 2722cd5..ab651d6 100644 --- a/src/wasm/src/download/downloader.rs +++ b/src/wasm/src/download/downloader.rs @@ -254,7 +254,7 @@ impl NavigationDataDownloader { fn report_error(&self, message: String) { let borrowed_task = self.task.borrow(); if (*borrowed_task).is_none() { - println!("[NAVIGRAPH] Task is none"); + println!("[NAVIGRAPH] Task is none, but an error has been raised: {}", message); return; } let mut borrowed_task = borrowed_task.as_ref().unwrap().borrow_mut();