merge bitcoin#20308: Set bilingual error completely

This commit is contained in:
Kittywhiskers Van Gogh 2020-11-05 11:28:37 +02:00 committed by PastaPastaPasta
parent 1bec382e0b
commit 7758b424f2

View File

@ -585,7 +585,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;
}
}