diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-05 14:51:34 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-05 14:51:37 +0100 |
commit | 9bb078351b09862a263e936bb612dca82305a6fe (patch) | |
tree | 9bec575232cc6a2e4f2023caef0b04bdc9361afe | |
parent | d94777bd525a06abac74cd1508ddb845faf1d118 (diff) | |
parent | 090b8385af818e1df122aacdd6d71bd37c8fffa7 (diff) |
Merge #20308: wallet: Set bilingual error completely
090b8385af818e1df122aacdd6d71bd37c8fffa7 Set bilingual error completely (Hennadii Stepanov)
Pull request description:
Fix https://github.com/bitcoin-core/gui/issues/128
ACKs for top commit:
MarcoFalke:
review ACK 090b8385af818e1df122aacdd6d71bd37c8fffa7
practicalswift:
ACK 090b8385af818e1df122aacdd6d71bd37c8fffa7: patch looks correct!
Tree-SHA512: ef400291a866c3116377a4439a23de89a1c5e3ef4597d682138f88d90612846aabb31228b98a8722e7f58b4b499a58adc732bc40ac28fae6d18fce1d4953c96a
-rw-r--r-- | src/wallet/sqlite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp index 6d2fdbe58b..3d21529fbb 100644 --- a/src/wallet/sqlite.cpp +++ b/src/wallet/sqlite.cpp @@ -584,7 +584,7 @@ std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase(const fs::path& path, const D return db; } catch (const std::runtime_error& e) { status = DatabaseStatus::FAILED_LOAD; - error.original = e.what(); + error = Untranslated(e.what()); return nullptr; } } |