[semsportal] Fix exception due to invalid thing status update ()

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2023-02-18 19:13:00 +01:00 committed by GitHub
parent e62503f8a4
commit f3d48681b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -140,7 +140,8 @@ public class PortalHandler extends BaseBridgeHandler {
loggedIn = true;
updateStatus(ThingStatus.ONLINE);
} else {
updateStatus(ThingStatus.UNINITIALIZED, ThingStatusDetail.CONFIGURATION_ERROR, "Check username / password");
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.OFFLINE.CONFIGURATION_ERROR,
"Check username / password");
}
}