Merge pull request #2765

0629f06 DaemonManager: check monerod binary, error details on start failure (xiphon)
This commit is contained in:
luigi1111
2020-02-05 21:42:11 -05:00
3 changed files with 11 additions and 5 deletions

View File

@@ -699,13 +699,13 @@ ApplicationWindow {
currentWallet.connected(true);
}
function onDaemonStartFailure(){
function onDaemonStartFailure(error) {
console.log("daemon start failed");
hideProcessingSplash();
// resume refresh
currentWallet.startRefresh();
informationPopup.title = qsTr("Daemon failed to start") + translationManager.emptyString;
informationPopup.text = qsTr("Please check your wallet and daemon log for errors. You can also try to start %1 manually.").arg((isWindows)? "monerod.exe" : "monerod")
informationPopup.text = error + ".\n\n" + qsTr("Please check your wallet and daemon log for errors. You can also try to start %1 manually.").arg((isWindows)? "monerod.exe" : "monerod")
informationPopup.icon = StandardIcon.Critical
informationPopup.onCloseCallback = null
informationPopup.open();