Related to: https://github.com/eclipse/smarthome/pull/1172
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
This commit is contained in:
Markus Rathgeb 2016-03-14 09:48:56 +01:00
Родитель 4799c095c9
Коммит 1b1c52dfed
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -109,7 +109,9 @@ public class ThingFactory {
if (thingHandlerFactory.supportsThingType(thingTypeUID)) {
Thing thing = thingHandlerFactory.createThing(thingTypeUID, configuration, thingUID, bridgeUID);
if (thing == null) {
logger.error("Thing factory returned null when it reports to support the thing");
logger.error(
"Thing factory ({}) returned null on create thing when it reports to support the thing type ({}).",
thingHandlerFactory.getClass(), thingTypeUID);
} else {
if (properties != null) {
for (String key : properties.keySet()) {