Log hotspot errors

This commit is contained in:
Sebastian Kürten
2021-05-31 07:28:31 +02:00
committed by Torsten Grote
parent 094024eb4f
commit 0fb52a7f53

View File

@@ -144,6 +144,7 @@ class HotspotViewModel extends DbViewModel
@Override @Override
public void onHotspotError(String error) { public void onHotspotError(String error) {
LOG.warning("Hotspot error: " + error);
state.setValue(new HotspotError(error)); state.setValue(new HotspotError(error));
ioExecutor.execute(webServerManager::stopWebServer); ioExecutor.execute(webServerManager::stopWebServer);
notificationManager.clearHotspotNotification(); notificationManager.clearHotspotNotification();