This commit is contained in:
Kogasa 2024-02-12 19:18:05 -08:00 committed by GitHub
commit 024f8131cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -226,7 +226,10 @@ impl Database {
deserializer.deserialize(bytes_dirs).context("could not deserialize database")? deserializer.deserialize(bytes_dirs).context("could not deserialize database")?
} }
version => { version => {
bail!("unsupported version (got {version}, supports {})", Self::VERSION) bail!(
"unsupported database version (got {version}, supports {}), re-create the database",
Self::VERSION
)
} }
}; };