HHousen / lecture2notes

Exception caught is very general PYL-W0703
Anti-pattern
Major
3 years ago4 years old
Catching too general exception Exception
469                    transcript, transcript_json = transcribe.caption_file_to_string(
470                        transcript_path
471                    )
472                except Exception:473                    yt_transcription_failed = True
474                    self.params.transcription_method = self.transcription_method_default
475                    logger.error(