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

Crashes if single device not found #14

Open
rgeniesse opened this issue Jan 31, 2019 · 1 comment
Open

Crashes if single device not found #14

rgeniesse opened this issue Jan 31, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@rgeniesse
Copy link
Owner

Error:

panic: Device not found

goroutine 1 [running]:
main.notifyPushbulletOne(0xc00013a6c0, 0x0, 0x0)
	/Users/rgeniesse/go/src/sensu-pushbullet-handler/main.go:142 +0x284
main.run(0xc000173680, 0xc0000c3e00, 0x0, 0x4, 0x0, 0x0)
	/Users/rgeniesse/go/src/sensu-pushbullet-handler/main.go:96 +0x289
sensu-pushbullet-handler/vendor/github.com/spf13/cobra.(*Command).execute(0xc000173680, 0xc0000ca010, 0x4, 0x4, 0xc000173680, 0xc0000ca010)
	/Users/rgeniesse/go/src/sensu-pushbullet-handler/vendor/github.com/spf13/cobra/command.go:762 +0x473
sensu-pushbullet-handler/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc000173680, 0x23, 0xc000173680, 0xc0001ba300)
	/Users/rgeniesse/go/src/sensu-pushbullet-handler/vendor/github.com/spf13/cobra/command.go:852 +0x2fd
sensu-pushbullet-handler/vendor/github.com/spf13/cobra.(*Command).Execute(0xc000173680, 0x0, 0x177b381)
	/Users/rgeniesse/go/src/sensu-pushbullet-handler/vendor/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
	/Users/rgeniesse/go/src/sensu-pushbullet-handler/main.go:24 +0x2b
@rgeniesse rgeniesse added the bug Something isn't working label Feb 2, 2019
@rgeniesse
Copy link
Owner Author

Most likely related to #10

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