diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index caa43f2..9304636 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -124,7 +124,8 @@ class comicEntity: remove_path = comicInfo.getDirComicChapter() shutil.rmtree(remove_path) print(f"文件已删除: {remove_path}") - except: + except Exception as e: + print(e.__traceback__.tb_lineno,e) ntfy.sendMsg(f"{comicInfo.getComicName()} 下载出错了") is_next = False ntfy.sendMsg(f"预计总章节大小:{cls.count_chapter + 1} / "+ str(comicInfo.getLenChapters()))