diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-11-05 11:28:37 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-11-05 11:28:37 +0200 |
commit | 090b8385af818e1df122aacdd6d71bd37c8fffa7 (patch) | |
tree | 225d36fe6da0689e6c4fb8677149de99e7dfb434 /src/wallet/sqlite.cpp | |
parent | f33e3325417988711476fd4703ac013d13a5de46 (diff) | |
download | bitcoin-090b8385af818e1df122aacdd6d71bd37c8fffa7.tar.xz |
Set bilingual error completely
Diffstat (limited to 'src/wallet/sqlite.cpp')
-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; } } |