Update DatabaseSQLite.cpp

This commit is contained in:
Kseniia Sumarokova 2021-07-13 14:40:07 +03:00 committed by GitHub
parent 48ffd3b81d
commit c615084ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ DatabaseSQLite::DatabaseSQLite(
{
std::error_code err;
String canonical_path = fs::canonical(database_path_, err);
/// The path existance is also checked here.
/// The path existence is also checked.
if (err)
throw Exception(ErrorCodes::PATH_ACCESS_DENIED, "SQLite database path '{}' is invalid. Error: {}", database_path_, err.message());