Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloudflare-ddns.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def updateIPs(ips):
try:
with open(os.path.join(CONFIG_PATH, "config.json")) as config_file:
config = json.loads(config_file.read())
except:
print("😡 Error reading config.json")
except Exception as e:
print(f"😡 Error reading config.json {str(e)}")
# wait 10 seconds to prevent excessive logging on docker auto restart
time.sleep(10)

Expand Down