diff options
author | vng <viktor.govako@gmail.com> | 2014-08-18 21:59:26 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:24:52 +0300 |
commit | 6a8af229df2356602362206dfc8c4123a9916109 (patch) | |
tree | 74e0f2d063dcfd603b938da8832680f3dee7d647 /indexer | |
parent | 64166a99e9cac4243d1566abc8bd1dc0a08961b2 (diff) |
Minor changes.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/index_builder.cpp | 5 | ||||
-rw-r--r-- | indexer/search_index_builder.cpp | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/indexer/index_builder.cpp b/indexer/index_builder.cpp index 360cc504e0..3de3ca6095 100644 --- a/indexer/index_builder.cpp +++ b/indexer/index_builder.cpp @@ -28,12 +28,13 @@ namespace indexer } catch (Reader::Exception const & e) { - LOG(LERROR, ("Error while reading file: ", e.what())); + LOG(LERROR, ("Error while reading file: ", e.Msg())); return false; } catch (Writer::Exception const & e) { - LOG(LERROR, ("Error writing index file: ", e.what())); + LOG(LERROR, ("Error writing index file: ", e.Msg())); + return false; } return true; diff --git a/indexer/search_index_builder.cpp b/indexer/search_index_builder.cpp index cf90d108da..528c85bb4a 100644 --- a/indexer/search_index_builder.cpp +++ b/indexer/search_index_builder.cpp @@ -433,12 +433,12 @@ bool indexer::BuildSearchIndexFromDatFile(string const & fName, bool forceRebuil } catch (Reader::Exception const & e) { - LOG(LERROR, ("Error while reading file: ", e.what())); + LOG(LERROR, ("Error while reading file: ", e.Msg())); return false; } catch (Writer::Exception const & e) { - LOG(LERROR, ("Error writing index file: ", e.what())); + LOG(LERROR, ("Error writing index file: ", e.Msg())); return false; } |