aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/sqlite.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-11-05 11:28:37 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-11-05 11:28:37 +0200
commit090b8385af818e1df122aacdd6d71bd37c8fffa7 (patch)
tree225d36fe6da0689e6c4fb8677149de99e7dfb434 /src/wallet/sqlite.cpp
parentf33e3325417988711476fd4703ac013d13a5de46 (diff)
Set bilingual error completely
Diffstat (limited to 'src/wallet/sqlite.cpp')
-rw-r--r--src/wallet/sqlite.cpp2
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;
}
}