Template of a custom feed generator service for the Bluesky network in Ruby

catch invalid post errors cleanly

Changed files
+5
app
+5
app/firehose_stream.rb
··· 182 record: op.raw_record 183 ) 184 185 matched = false 186 187 @feeds.each do |feed|
··· 182 record: op.raw_record 183 ) 184 185 + if !post.valid? 186 + log "Error: post is invalid: #{op.uri} (#{msg.seq}): #{post.errors.to_a.join(', ')}" 187 + return 188 + end 189 + 190 matched = false 191 192 @feeds.each do |feed|