Skip to content

Commit

Permalink
fix: catch exception when parsing file for transcription
Browse files Browse the repository at this point in the history
  • Loading branch information
dixidroid committed Aug 26, 2024
1 parent c0cd6de commit cd18590
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ class TranscriptManager(
)
if (result) {
getInputStream(downloadLink)?.let {
val transcriptTimedTextObject =
convertIntoTimedTextObject(it)
transcriptObject = transcriptTimedTextObject
try {
transcriptObject = convertIntoTimedTextObject(it)
} catch (e: Exception) {
e.printStackTrace()
}
}
}
}
Expand Down

0 comments on commit cd18590

Please sign in to comment.