Skip to content

Commit

Permalink
lint, comment error case
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Bachtel committed Jan 5, 2025
1 parent 3a60ca9 commit ed53c88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bsky_prolific_followers/listener.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ def create_profile_schedulers
if cache_skip_profile_fetch?(firehose_did)
profile = cache_get_profile(firehose_did)
if profile.nil?
# This is an error case that should not be reached if cache_skip_profile_fetch? is working correctly
print "cache_profile_exists? but nil: #{firehose_did} "
puts @cache_db.execute("SELECT profile FROM profiles WHERE did=?", firehose_did)
elsif profile.key?("handle")
Expand Down

0 comments on commit ed53c88

Please sign in to comment.