Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A-Z database update error #873

Open
2 tasks
rladdusaw opened this issue Jan 10, 2025 · 0 comments
Open
2 tasks

A-Z database update error #873

rladdusaw opened this issue Jan 10, 2025 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@rladdusaw
Copy link
Contributor

Expected behavior

The rake task for generating the A-Z database should run twice a day at 12 and 6 PM UTC without errors.

Actual behavior

The task is reporting errors at erratic times during the day.

Steps to replicate

Impact of this bug

The A-Z database might be out of date if it's not updated successfully.

Acceptance criteria

  • The rake task runs at the correct times without errors.
  • If this change touches any of the files referenced in .rubocop_todo.yml create a new ticket to address the rubocop todo.

Honeybadger link and code snippet, if applicable

https://app.honeybadger.io/projects/100710/faults/116166292

TypeError: no implicit conversion of String into Integer if database["friendly_url"].blank? ^^^^^^^^^^^^^^
24 | csv << Database.field_names
25 | @database_list.each do \|database\|
26 | if database["friendly_url"].blank?
27 | Rails.logger.warn("Skipping database without friendly_url. Database id: #{database['id']}, Database name: #{database['name']}")
28 | next


Implementation notes, if any

@rladdusaw rladdusaw added the bug 🐛 Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant