Fix error in a log message
This commit is contained in:
parent
fc19ae0530
commit
5820e87af6
|
@ -58,7 +58,7 @@ module Hued
|
||||||
@log.info "* Found group #{group.id}: #{group.name} with " \
|
@log.info "* Found group #{group.id}: #{group.name} with " \
|
||||||
"lights #{group.bulbs.map(&:id).join(", ")}"
|
"lights #{group.bulbs.map(&:id).join(", ")}"
|
||||||
end
|
end
|
||||||
@log.info "Found #{@groups.count} group#{@groups.count != 1 || "s"}"
|
@log.info "Found #{@groups.count} group#{"s" unless @groups.count == 1}"
|
||||||
# FIXME: mention bridge.cfg contents if it was done via auto setup
|
# FIXME: mention bridge.cfg contents if it was done via auto setup
|
||||||
rescue => e
|
rescue => e
|
||||||
@log.error "Could not discover lights/groups: #{e.message}"
|
@log.error "Could not discover lights/groups: #{e.message}"
|
||||||
|
|
Reference in New Issue