You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we couldn't write enough code to handle invalid input, we should let it crashes to help people understand their problems then take their fixes quickly, it should crashes instead of hanging in my opinion.
Daylon
pushed a commit
to Daylon/epub-gen
that referenced
this issue
Sep 29, 2024
Summary
If you pass something that is not a string as a cover option, the epub generation process will hang on the "Making Cover..." step.
Steps to Reproduce
{}
asoptions.cover
.Expected Behaviour
Process returns an error saying that
options.cover
must be a string.Actual Behaviour
Process hangs.
Proposed Solution
Check the type of the
cover
option.The text was updated successfully, but these errors were encountered: