diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt index 2420d51..6549aa6 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt @@ -130,7 +130,7 @@ fun registerTasks(project: Project) { try { extension.fileSize = task.outputs.files.singleFile.length() } - catch(Exception e) { + catch(e: Throwable) { extension.fileSize = -1L } task.logger.lifecycle("Made Cloudstream package at ${task.outputs.files.singleFile}")