dogecoin / dogecoin

very currency
MIT License
14.4k stars 2.8k forks source link

qt: Display abort node error to UI #3526

Open alamshafil opened 4 weeks ago

alamshafil commented 4 weeks ago

Addresses #3489 Point 1

This PR displays the AbortNode() message to the user through a Qt dialog box instead of only printing to the log.

In addition, the AbortNode() logs with Node aborted: <message> instead of *** <message> to make it clear that the node had to be aborted due to a reason.

Since AbortNode() only takes in a single error message now, only the disk space error would be translated. Not sure how this effects translations for other errors. I am also not sure how changing the error string affects the current translations since it remove "Error: " and adds a colon (:) to the end with a space.

dogecoin-error