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

Rare JSON parsing error #3

Open
caniko opened this issue May 20, 2024 · 0 comments
Open

Rare JSON parsing error #3

caniko opened this issue May 20, 2024 · 0 comments

Comments

@caniko
Copy link

caniko commented May 20, 2024

The container has been running for about a week, and I am getting this weird error.

2024/05/14 20:33:13 Error parsing JSON: invalid character 'e' looking for beginning of value
panic: Error parsing JSON: invalid character 'e' looking for beginning of value

goroutine 2964 [running]:
log.Panic({0x40000abe98?, 0x247fe0?, 0x40001121c0?})
	/usr/local/go/src/log/log.go:432 +0x60
main.GetDNSRecord({0x400001a008?, 0x4ca020?}, {0x4000018025, 0xb}, {0x400001a038, 0x28})
	/usr/src/app/cloudflare.go:59 +0x2b8
main.getDNSRecords.func1()
	/usr/src/app/main.go:49 +0x40
created by main.getDNSRecords in goroutine 2963
	/usr/src/app/main.go:48 +0xc0

Fixed by just restarting... Just documenting

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

No branches or pull requests

1 participant