mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fix exception message in LibraryDictionarySource.
This commit is contained in:
parent
401372544c
commit
708fe27022
@ -136,7 +136,7 @@ LibraryDictionarySource::LibraryDictionarySource(
|
||||
{
|
||||
const String dictionaries_lib_path = context.getDictionariesLibPath();
|
||||
if (!startsWith(path, dictionaries_lib_path))
|
||||
throw Exception("LibraryDictionarySource: Library path " + dictionaries_lib_path + " is not inside " + dictionaries_lib_path, ErrorCodes::PATH_ACCESS_DENIED);
|
||||
throw Exception("LibraryDictionarySource: Library path " + path + " is not inside " + dictionaries_lib_path, ErrorCodes::PATH_ACCESS_DENIED);
|
||||
}
|
||||
|
||||
if (!Poco::File(path).exists())
|
||||
|
Loading…
Reference in New Issue
Block a user