diff --git a/src/activitypub/inbox.rs b/src/activitypub/inbox.rs index 20982b31..5bd029ad 100644 --- a/src/activitypub/inbox.rs +++ b/src/activitypub/inbox.rs @@ -31,7 +31,10 @@ pub async fn get(State(ctx) : State, Query(page): Query) -> )) .ld_context() )), - Err(_e) => Err(StatusCode::INTERNAL_SERVER_ERROR), + Err(e) => { + tracing::error!("failed paginating global outbox: {e}"); + Err(StatusCode::INTERNAL_SERVER_ERROR) + }, } } else { Ok(JsonLD(serde_json::Value::new_object() diff --git a/src/model/addressing.rs b/src/model/addressing.rs index 8dea7d58..37601649 100644 --- a/src/model/addressing.rs +++ b/src/model/addressing.rs @@ -4,7 +4,7 @@ use sea_orm::entity::prelude::*; #[sea_orm(table_name = "addressing")] pub struct Model { #[sea_orm(primary_key)] - pub id: String, + pub id: i64, pub actor: String, pub activity: String, pub object: Option,