mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
Revert "Just for testing, let importing the db always fail - .context() just overwrites the underlying error!!!!!"
This reverts commit 27e53ddbff.
This commit is contained in:
@@ -96,15 +96,6 @@ impl Sql {
|
||||
res.map_err(|e| format_err!("Could not open db: {}", e))
|
||||
}
|
||||
|
||||
pub async fn openh<T: AsRef<Path>>(
|
||||
&self,
|
||||
context: &Context,
|
||||
dbfile: T,
|
||||
readonly: bool,
|
||||
) -> crate::error::Result<()> {
|
||||
Err(format_err!("This is the actual error the user should see"))
|
||||
}
|
||||
|
||||
pub async fn execute<S: AsRef<str>>(
|
||||
&self,
|
||||
sql: S,
|
||||
|
||||
Reference in New Issue
Block a user