mirror of
https://github.com/nikoksr/notify.git
synced 2024-11-28 08:39:13 +02:00
Update pushbullet.go
This commit is contained in:
parent
c159e97d01
commit
4f6011a81a
@ -39,8 +39,7 @@ func (pb Pushbullet) Send(subject, message string) error {
|
||||
for _, deviceNickname := range pb.deviceNicknames {
|
||||
dev, err := pb.client.Device(deviceNickname)
|
||||
if err != nil {
|
||||
// Unregistered devices should not result in a failure for all others
|
||||
continue
|
||||
return errors.Wrapf(err, "failed to find Pushbullet device with nickname '%s'", deviceNickname)
|
||||
}
|
||||
|
||||
err = dev.PushNote(subject, message)
|
||||
|
Loading…
Reference in New Issue
Block a user