Skip to content

Commit e6c0bd4

Browse files
committed
remove unwrap
1 parent ad95949 commit e6c0bd4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libsql-server/src/bottomless_migrate.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ async fn migrate_one(
161161
let registry = registry.clone();
162162
move || registry.open(&db_path, &namespace.into()) })
163163
.await
164-
.unwrap()
165-
.unwrap();
164+
.unwrap()?;
166165

167166
let mut tx = shared.begin_read(0).into();
168167
shared.upgrade(&mut tx).unwrap();

0 commit comments

Comments
 (0)