Closed vijaym123 closed 8 years ago
@vijaym123 great catch ... looks like it was just silently failing and I never even realized there was missing log output.
The point of logging that sentence was to let you know what sentence the parser failed on to give you a place to start debugging. But now that I'm looking at this code again, it kind of seems like the sentence text ought to just be added to the end of the error message. What do you think?
Yes, you are right. Changed the message from info to error. Thanks for the code review!
Hi @macfarlandian,
The logger.info takes in a string argument, so I just added a simple fix to it. Let me know, if you would like to add any additional checks in here. Thanks! :)