Skip to content

Commit

Permalink
Small fix (readium#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
qnga authored Feb 9, 2024
1 parent ee61210 commit 9696c43
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ suspend fun InputStream.toFileUnsafe(file: File) {
}
} catch (e: Exception) {
tryOrLog { file.delete() }
throw e
}
}

Expand Down

0 comments on commit 9696c43

Please sign in to comment.