crypto: Propagate a sqlite store error correctly.
This commit is contained in:
parent
1b8b3da733
commit
426fe1df0f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ impl SqliteStore {
|
|||
) -> Result<SqliteStore> {
|
||||
let url = SqliteStore::path_to_url(path.as_ref())?;
|
||||
|
||||
let connection = SqliteConnection::connect(url.as_ref()).await.unwrap();
|
||||
let connection = SqliteConnection::connect(url.as_ref()).await?;
|
||||
let store = SqliteStore {
|
||||
user_id: Arc::new(user_id.to_owned()),
|
||||
device_id: Arc::new(device_id.to_owned()),
|
||||
|
|
Loading…
Reference in a new issue