Skip to content
Discussion options

You must be logged in to vote

I figured out a solution:

try
{
	book = VersOne.Epub.EpubReader.OpenBook(path, EpubReaderOptionsPreset.IGNORE_ALL_ERRORS);
}
catch (Exception ex)
{
	logger.Error($"Error opening ebook: {ex.Message}");
	return null;
}

I guess if I want to ignore errors I need to use OpenBook and not ReadBook.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ne0rrmatrix
Comment options

You must be logged in to vote
1 reply
@ne0rrmatrix
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants