Browse Source

add non-opaque error on hue connect failed.

beelzebub 0.2.2
Gisle Aune 2 months ago
parent
commit
c2f3d3c4d1
  1. BIN
      frontend/icons.blend
  2. 2
      services/hue/bridge.go

BIN
frontend/icons.blend

2
services/hue/bridge.go

@ -348,7 +348,7 @@ func (b *Bridge) SetStates(patch map[string]device.State) {
func (b *Bridge) Run(ctx context.Context, bus *lucifer3.EventBus) interface{} {
hwEvents, err := b.RefreshAll()
if err != nil {
return errors.New("failed to connect to bridge")
return fmt.Errorf("failed to connect to bridge: %s", err)
}
bus.RunEvent(events.Log{

Loading…
Cancel
Save