When a book is missing and no chapter data is returned Controller.prototype.changeChapter doesn't handle the invalid data very well. For possible solutions, either changeChapter could be updated with better error handling or VerseLinkParser can fail the parsing nicer.
VerseLinkParser currently fails with the error: Uncaught TypeError: Cannot read property 'citation' of undefined
When a book is missing and no chapter data is returned
Controller.prototype.changeChapter
doesn't handle the invalid data very well. For possible solutions, eitherchangeChapter
could be updated with better error handling orVerseLinkParser
can fail the parsing nicer.VerseLinkParser
currently fails with the error:Uncaught TypeError: Cannot read property 'citation' of undefined