aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/github/release_notes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/github/release_notes.rs b/src-tauri/src/github/release_notes.rs
index f78a9001..0dd4b948 100644
--- a/src-tauri/src/github/release_notes.rs
+++ b/src-tauri/src/github/release_notes.rs
@@ -104,7 +104,7 @@ pub async fn get_northstar_release_notes() -> Result<Vec<ReleaseInfo>, String> {
// Send the request
.send()
.await
- .unwrap();
+ .map_err(|err| err.to_string())?;
// TODO there's probably a way to automatically serialize into the struct but I don't know yet how to
let mut release_info_vector: Vec<ReleaseInfo> = vec![];