Changed the way how DNS-server start error is handled. Now ALFIS starts normally, and the error is shown in GUI.

This commit is contained in:
Revertron
2021-11-20 16:11:05 +01:00
parent ab742885dd
commit 0e8d39751e
8 changed files with 47 additions and 11 deletions
+1
View File
@@ -316,6 +316,7 @@ fn action_loaded(context: &Arc<Mutex<Context>>, web_view: &mut WebView<()>) {
event_handle_info(&handle, &format!("Blockchain changed, current block count is {} now.", index));
String::new() // Nothing
}
Event::Error { text } => format!("showError('{}')", &text),
_ => String::new()
};