Skip to content

Commit

Permalink
fix(rust): avoid panicking when the non-persistent node cannot be del…
Browse files Browse the repository at this point in the history
…eted
  • Loading branch information
davide-baldo committed Oct 22, 2024
1 parent 21e9391 commit 577f475
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Drop for InMemoryNode {
// code: 1032 maps to SQLITE_READONLY_DBMOVED - meaning the database has been
// moved to another directory, most likely already deleted
if !err.to_string().contains("code: 1032") {
panic!("cannot delete the node {}: {err:?}", self.node_name);
error!("Cannot delete the node {}: {err:?}", self.node_name);
}
}
});
Expand Down

0 comments on commit 577f475

Please sign in to comment.