Skip to content

Commit

Permalink
fix: Return error instead of panicking
Browse files Browse the repository at this point in the history
Otherwise user will just see infinite loading bar
  • Loading branch information
GeckoEidechse committed Jul 2, 2023
1 parent 2efce22 commit aa5e6ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src-tauri/src/northstar/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ async fn do_install(
}
}
},
)
.unwrap();
)?;

window
.emit(
Expand Down

0 comments on commit aa5e6ae

Please sign in to comment.