Skip to content

Script bails if a zone doesn't exist #181

Open
@TheFiZi

Description

Describe the bug
I recently got rid of two of my domains and forgot to update my config.json. When cloudflare-ddns had to fire because my IP changed it hit the first zone in the configuration file, which didn't exist anymore in CF, got an error from the Cloudflare API and stopped processing the remaining domains.

To Reproduce
Steps to reproduce the behavior:

  1. Delete a zone from Cloudflare
  2. Run start-sync.sh

Expected behavior
Throw an error about the zone not existing anymore in CF and continue processing the rest of the zones in the configuration file.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: N/A
  • Browser: N/A
  • Version: N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context
None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions