summaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
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),
}