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

Segfault if no url parameter given #83

Closed
mxkrsv opened this issue Apr 27, 2021 · 2 comments
Closed

Segfault if no url parameter given #83

mxkrsv opened this issue Apr 27, 2021 · 2 comments

Comments

@mxkrsv
Copy link

mxkrsv commented Apr 27, 2021

$ ./comics-downloader
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x514304]

goroutine 1 [running]:
github.com/Girbons/comics-downloader/internal/logger.(*Logger).Error(0x0, 0x84b823, 0x19)
	/Users/girbons/go/src/github.com/Girbons/comics-downloader/internal/logger/customlogger.go:49 +0x44
github.com/Girbons/comics-downloader/cmd/app.Run(0xc0001122d0)
	/Users/girbons/go/src/github.com/Girbons/comics-downloader/cmd/app/downloader.go:112 +0xb4
main.main()
	/Users/girbons/go/src/github.com/Girbons/comics-downloader/cmd/downloader/main.go:80 +0x1b9
@Girbons
Copy link
Owner

Girbons commented Apr 27, 2021

Hi @begss,

thanks for reporting, I'll release a fix soon!

@mxkrsv
Copy link
Author

mxkrsv commented Apr 28, 2021

Thanks

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

2 participants