Fix exception message in LibraryDictionarySource.

This commit is contained in:
Nikolai Kochetov 2020-03-12 14:26:00 +03:00
parent 401372544c
commit 708fe27022

View File

@ -136,7 +136,7 @@ LibraryDictionarySource::LibraryDictionarySource(
{ {
const String dictionaries_lib_path = context.getDictionariesLibPath(); const String dictionaries_lib_path = context.getDictionariesLibPath();
if (!startsWith(path, dictionaries_lib_path)) 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()) if (!Poco::File(path).exists())