π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix(bluesky): surface the underlying error when preparation keeps failing
Gilad Resisicf0c8ff70603
diff --git a/libraries/nestjs-libraries/src/integrations/social/bluesky.provider.ts b/libraries/nestjs-libraries/src/integrations/social/bluesky.provider.tsindex 2ec32a86c..a7c65577c 100644--- a/libraries/nestjs-libraries/src/integrations/social/bluesky.provider.ts+++ b/libraries/nestjs-libraries/src/integrations/social/bluesky.provider.ts@@ -605,11 +605,12 @@ export class BlueskyProvider extends SocialAbstract implements SocialProvider {// this is safe and beats exhausting the check budget into a misleading// "check your account" warning.if ((pendingData.prepFailures || 0) >= 4) {+ const reason = (err as any)?.message || String(err);throw new BadBody('bluesky',- JSON.stringify({}),+ JSON.stringify({ message: reason }),{} as any,- 'Could not prepare the post for Bluesky, nothing was published, please try again'+ `Could not prepare the post for Bluesky, nothing was published: ${reason}`);}