From 26c1af571072bb4f3dc4559684cde3529559114c Mon Sep 17 00:00:00 2001 From: C10udburst <18114966+C10udburst@users.noreply.github.com> Date: Fri, 19 Aug 2022 15:31:05 +0200 Subject: [PATCH] fix once again --- .../kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")