Skip to content

Commit 385930c

Browse files
committed
fix typo
1 parent 4c98576 commit 385930c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl<Err> Database<Err> {
7171
pub fn delete_object_store(&self, name: &str) -> crate::Result<(), Err> {
7272
self.sys.delete_object_store(name).map_err(|err| match error_name!(&err) {
7373
Some("InvalidStateError") => crate::Error::InvalidCall,
74-
Some("TransactionInactiveError") => panic!("Tried to create an object store with the `versionchange` transaction having already aborted"),
74+
Some("TransactionInactiveError") => panic!("Tried to delete an object store with the `versionchange` transaction having already aborted"),
7575
Some("NotFoundError") => crate::Error::DoesNotExist,
7676
_ => crate::Error::from_js_value(err),
7777
})

0 commit comments

Comments
 (0)