diff --git a/database/entities/Status.ts b/database/entities/Status.ts index 0a6f7fe2..e62b8ccb 100644 --- a/database/entities/Status.ts +++ b/database/entities/Status.ts @@ -273,6 +273,7 @@ export const federateStatus = async (status: StatusWithRelations) => { const response = await fetch(request); if (!response.ok) { + console.error(response.text()); throw new Error( `Failed to federate status ${status.id} to ${user.uri}`, ); diff --git a/database/entities/User.ts b/database/entities/User.ts index ba854eee..8a2d0fac 100644 --- a/database/entities/User.ts +++ b/database/entities/User.ts @@ -95,6 +95,7 @@ export const followRequestUser = async ( const response = await fetch(request); if (!response.ok) { + console.error(response.text()); throw new Error( `Failed to federate follow request from ${follower.id} to ${followee.uri}`, ); diff --git a/server/api/users/[uuid]/inbox/index.ts b/server/api/users/[uuid]/inbox/index.ts index 9b7c9d41..2b072bcf 100644 --- a/server/api/users/[uuid]/inbox/index.ts +++ b/server/api/users/[uuid]/inbox/index.ts @@ -206,6 +206,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => { const response = await fetch(request); if (!response.ok) { + console.error(response.text()); throw new Error( `Failed to federate follow accept from ${user.id} to ${account.uri}`, );