Fix a bug in torrent deletion

This commit is contained in:
Igor Katson 2024-08-19 19:12:47 +01:00
parent 04cfe9fc6b
commit ab2d73c2b3
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 18 additions and 3 deletions

View file

@ -1179,7 +1179,9 @@ impl Session {
if let Some(p) = self.persistence.as_ref() {
if let Err(e) = p.delete(id).await {
error!(error=?e, "error deleting torrent from database");
error!(error=?e, "error deleting torrent from persistence database");
} else {
debug!(?id, "deleted torrent from persistence database")
}
}