Skip to content

Commit

Permalink
Remove pointless logging
Browse files Browse the repository at this point in the history
Signed-off-by: James Melville <jamesmelville@gmail.com>
  • Loading branch information
jamesmelville committed Dec 18, 2020
1 parent 2ce0970 commit 1774251
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@
import org.openhab.core.thing.binding.BaseBridgeHandler;
import org.openhab.core.thing.binding.ThingHandlerService;
import org.openhab.core.types.Command;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* @author James Melville - Initial contribution
*/
@NonNullByDefault
public class MyWarmupAccountHandler extends BaseBridgeHandler {

private final Logger logger = LoggerFactory.getLogger(MyWarmupAccountHandler.class);
private final MyWarmupApi api;

private @Nullable QueryResponseDTO queryResponse = null;
Expand Down Expand Up @@ -98,7 +95,6 @@ public synchronized void refreshFromServer() {
updateStatus(ThingStatus.ONLINE);
} catch (MyWarmupApiException e) {
queryResponse = null;
logger.debug("{}", e.getMessage());
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage());
} finally {
refreshFromCache();
Expand Down

0 comments on commit 1774251

Please sign in to comment.