diff --git a/main.go b/main.go index b3c82cf..3ef8488 100644 --- a/main.go +++ b/main.go @@ -289,7 +289,7 @@ func commentReplyWorker(ctx context.Context, c *lemmy.Client, rs *store.Queries, }) if err != nil { log.Warn("Error while trying to edit comment").Err(err).Send() - return + continue } // Set the reply ID for the post/comment in the database @@ -300,7 +300,7 @@ func commentReplyWorker(ctx context.Context, c *lemmy.Client, rs *store.Queries, }) if err != nil { log.Warn("Error setting the reply ID of the new comment").Err(err).Send() - return + continue } log.Info("Edited comment"). @@ -315,7 +315,7 @@ func commentReplyWorker(ctx context.Context, c *lemmy.Client, rs *store.Queries, }) if err != nil { log.Warn("Error while trying to create new comment").Err(err).Send() - return + continue } // Set the reply ID for the post/comment in the database @@ -326,7 +326,7 @@ func commentReplyWorker(ctx context.Context, c *lemmy.Client, rs *store.Queries, }) if err != nil { log.Warn("Error setting the reply ID of the new comment").Err(err).Send() - return + continue } log.Info("Created new comment").