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

Exit gracefully when no speakers are configured #1

Open
hilli opened this issue May 31, 2023 · 0 comments
Open

Exit gracefully when no speakers are configured #1

hilli opened this issue May 31, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hilli
Copy link
Owner

hilli commented May 31, 2023

Since that doesn't happen now...

❯ kefw2 status
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2cb61c]

goroutine 1 [running]:
github.com/hilli/go-kef-w2/kefw2.(*KEFSpeaker).Source(0x40000db848?)
	/home/hilli/github.com/hilli/go-kef-w2/kefw2/kefw2.go:143 +0x1c
github.com/hilli/go-kef-w2/cmd/kefw2/cmd.glob..func13(0x780380?, {0x7bf730?, 0x0?, 0x0?})
	/home/hilli/github.com/hilli/go-kef-w2/cmd/kefw2/cmd/status.go:19 +0x2c
github.com/spf13/cobra.(*Command).execute(0x780380, {0x7bf730, 0x0, 0x0})
	/home/hilli/.go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0x5ac
github.com/spf13/cobra.(*Command).ExecuteC(0x77fae0)
	/home/hilli/.go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x340
github.com/spf13/cobra.(*Command).Execute(...)
	/home/hilli/.go/pkg/mod/github.com/spf13/[email protected]/command.go:992
github.com/hilli/go-kef-w2/cmd/kefw2/cmd.Execute()
	/home/hilli/github.com/hilli/go-kef-w2/cmd/kefw2/cmd/root.go:65 +0x24
main.main()
	/home/hilli/github.com/hilli/go-kef-w2/cmd/kefw2/kefw2.go:27 +0x1c
exit status 2
@hilli hilli self-assigned this May 31, 2023
@hilli hilli added the bug Something isn't working label May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant