Skip to content

Commit

Permalink
adding logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikit-srivastava committed Oct 18, 2018
1 parent b56475f commit c381f05
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,10 @@ private String getClosestEntry(float[] vector, String subKey) {
closestWord = findClosestWord(nearbyIndexes, vector);
tl.printTime(1, "finding closest word");
} catch (Exception e) {
LOG.error("Exception has occured while finding closest word.");
e.printStackTrace();
}
LOG.info("Closest word found is: "+closestWord);
return closestWord;
}

Expand Down

0 comments on commit c381f05

Please sign in to comment.