summaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-09-18 12:29:50 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-09-18 12:29:55 -0400
commit539d2cd77891ac02c1d467c65d26c880ea154b59 (patch)
tree5c9e71a12605e08d1c2cc872f6c5ae88166c9e72 /src/index
parent526067fecf6bafec060d97162a16bc18cd74ad9b (diff)
Most pass-through errors do not need additional message text
Diffstat (limited to 'src/index')
-rw-r--r--src/index/app.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/app.rs b/src/index/app.rs
index a3456c0..4f234ee 100644
--- a/src/index/app.rs
+++ b/src/index/app.rs
@@ -31,6 +31,6 @@ impl<'a> Index<'a> {
pub enum Error {
#[error("channel {0} not found")]
ChannelNotFound(channel::Id),
- #[error("database error: {0}")]
+ #[error(transparent)]
DatabaseError(#[from] sqlx::Error),
}