3
0
Fork 0

+ small fixes in error messages

small_fixes
kelson42 13 years ago
parent 88d09e333a
commit a7397e73c3

@ -437,7 +437,7 @@ int main(int argc, char **argv) {
new kiwix::CluceneSearcher(indexPath); new kiwix::CluceneSearcher(indexPath);
indexType = kiwix::CLUCENE; indexType = kiwix::CLUCENE;
} catch (...) { } catch (...) {
cerr << "Unable to open the search index '" << zimPath << "' neither with the Xapian nor with CLucene." << endl; cerr << "Unable to open the search index '" << indexPath << "' neither with the Xapian nor with CLucene." << endl;
exit(1); exit(1);
} }
} }
@ -490,7 +490,7 @@ int main(int argc, char **argv) {
} }
hasSearchIndex = true; hasSearchIndex = true;
} catch (...) { } catch (...) {
cerr << "Unable to open the search index '" << zimPath << "'." << endl; cerr << "Unable to open the search index '" << indexPath << "'." << endl;
} }
if (hasSearchIndex) { if (hasSearchIndex) {

Loading…
Cancel
Save