crocodilestick / Calibre-Web-Automated

Calibre-Web but automated and with Calibre features! Fully automate and simplify your eBook set up!
https://github.com/crocodilestick/Calibre-Web-Automated
GNU General Public License v3.0
643 stars 12 forks source link

[bug] Exception during enforce_all_covers stopping the process for the rest of the files #72

Closed leetbrown closed 1 month ago

leetbrown commented 1 month ago

Describe the bug Receiving an exception during the enforce_cover method stops the process from proceeding for the rest of the files

To Reproduce Steps to reproduce the behavior:

  1. Have an existing ebook with a very long filename for the cover
  2. execute cover-enforcer -all
  3. when the file is processed you will get a file path too long error
  4. the process does not proceed for the next file

Expected behavior Exception is logged but the process continues

Screenshots image

Configuration: Docker container Version : 2.0.1

jmarmstrong1207 commented 1 month ago

We should be able to add a try/catch block so that it'll continue if a book cover errors out like this in the meantime @crocodilestick