simplify compatible error handlers

This commit is contained in:
yggverse 2024-10-08 03:41:51 +03:00
parent 94d56fec4a
commit 274bf490b3
5 changed files with 28 additions and 87 deletions

View file

@ -256,9 +256,7 @@ impl App {
}
// Delegate migration to childs
if let Err(e) = Browser::migrate(&tx) {
return Err(e.to_string());
}
Browser::migrate(&tx)?;
// Success
Ok(())