@ -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{