02022-09-04T19:17:59Z GUI: Qt has caught an exception thrown from an event handler. Throwing
1exceptions from an event handler is not supported in Qt.
2You must not let any exception whatsoever propagate through Qt code.
3If that is not possible, in Qt 5 you must at least reimplement
4QCoreApplication::notify() and catch all exceptions there.
5
6terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
7 what(): filesystem error: cannot copy file: Permission denied [/tmp/usehd0.dat] [/home/dev/.bitcoin/regtest/wallets/nonHD/wallet.dat]
8Aborted
Two issues here:
- Unhandled exceptions should be displayed in the GUI before quitting.
- Failure to restore a wallet should not crash.