Skip to content
Open
Changes from all commits
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 @@ -267,8 +267,8 @@ def updateIPs(ips):
config = json.loads(Template(config_file.read()).safe_substitute(ENV_VARS))
else:
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
Loading