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

fix(pg-v5): #1294 attempt to access logs of an invalid API response object. #1295

Closed
wants to merge 1 commit into from

Conversation

johndalton
Copy link

This fixes the issue described in #1294, where running pg:backups:capture in verbose mode will give a TypeError when we receive an error from the API (such as when trying to backup a service you don't have permissions for).

@johndalton johndalton requested a review from a team August 12, 2019 03:49
@RasPhilCo
Copy link
Contributor

@johndalton good catch, but this will push the undefined method error into another block. Probably best for the poll function to just check for the existence of backup first before entering into any further business.

@mimen mimen closed this Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants