Fixed and error message and properly initialized the DB
This commit is contained in:
parent
1ce0863158
commit
55eb0a3742
2 changed files with 7 additions and 4 deletions
|
@ -168,7 +168,7 @@ impl<M: Migrator> ThreadSafeConnection<M> {
|
|||
let result = connection.with_write(|connection| callback(connection));
|
||||
sender.send(result).ok();
|
||||
}));
|
||||
reciever.map(|response| response.expect("Background writer thread unexpectedly closed"))
|
||||
reciever.map(|response| response.expect("Write queue unexpectedly closed"))
|
||||
}
|
||||
|
||||
pub(crate) fn create_connection(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue