diff options
| author | Hennadii Stepanov <[email protected]> | 2020-11-05 11:28:37 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-11-05 11:28:37 +0200 |
| commit | 090b8385af818e1df122aacdd6d71bd37c8fffa7 (patch) | |
| tree | 225d36fe6da0689e6c4fb8677149de99e7dfb434 /src/wallet/sqlite.cpp | |
| parent | Merge #20303: fuzz: Assert expected DecodeHexTx behaviour when using legacy d... (diff) | |
| download | discoin-090b8385af818e1df122aacdd6d71bd37c8fffa7.tar.xz discoin-090b8385af818e1df122aacdd6d71bd37c8fffa7.zip | |
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 6d2fdbe58..3d21529fb 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; } } |