Update StorageSQLite.cpp

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

View File

@ -162,7 +162,7 @@ void registerStorageSQLite(StorageFactory & factory)
std::error_code err;
auto 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());