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

Handle cases where Plausible metrics downloads fail #594

Open
jrgriffiniii opened this issue Apr 1, 2024 — with Honeybadger · 0 comments
Open

Handle cases where Plausible metrics downloads fail #594

jrgriffiniii opened this issue Apr 1, 2024 — with Honeybadger · 0 comments

Comments

Copy link
Contributor

jrgriffiniii commented Apr 1, 2024

Currently there are cases where response within attempts to request the number of downloads recorded by Plausible is nil. This should be handled rather than raise a Honeybadger error.

Honeybadger indicated that the error originated from:

def self.downloads(document_id)

View full backtrace and more info at honeybadger.io

@jrgriffiniii jrgriffiniii changed the title [pdc_discovery/production] Notice: undefined method `each' for nil:NilClass Handle cases where Plausible metrics downloads fail Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant