Log hotspot errors

This commit is contained in:
Sebastian Kürten
2021-05-31 07:28:31 +02:00
parent 79dae27c24
commit f9181fa021

View File

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