You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While processing a post, it looks like BlueSky can return some improperly formatted content. The issue is that this exception causes no further posts to show up in Ivory. The workaround is to reset the cache in the Ivory client, but ideally SkyBridge should just skip the the bad post and continue processing.
Making the list processing in routes/api/v1/timelines/list/[id].dart more resilient to a bad post is the best way to handle it
// Take all the posts and convert them to Mastodon ones
// Await all the futures, getting any necessary data from the database.
final posts = await databaseTransaction(() async {
final futures = feed.data.feed.map(MastodonPost.fromFeedView).toList();
return Future.wait(futures);
});
The text was updated successfully, but these errors were encountered:
While processing a post, it looks like BlueSky can return some improperly formatted content. The issue is that this exception causes no further posts to show up in Ivory. The workaround is to reset the cache in the Ivory client, but ideally SkyBridge should just skip the the bad post and continue processing.
Making the list processing in
routes/api/v1/timelines/list/[id].dart
more resilient to a bad post is the best way to handle itThe text was updated successfully, but these errors were encountered: