mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
simplify compatible error handlers
This commit is contained in:
parent
94d56fec4a
commit
274bf490b3
5 changed files with 28 additions and 87 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue