diff --git a/API-Curseforge/src/main/kotlin/com.github.p03w.modifold.curseforge_api/CurseforgeAPI.kt b/API-Curseforge/src/main/kotlin/com.github.p03w.modifold.curseforge_api/CurseforgeAPI.kt index 5b5de3c..32650c0 100644 --- a/API-Curseforge/src/main/kotlin/com.github.p03w.modifold.curseforge_api/CurseforgeAPI.kt +++ b/API-Curseforge/src/main/kotlin/com.github.p03w.modifold.curseforge_api/CurseforgeAPI.kt @@ -37,7 +37,7 @@ object CurseforgeAPI : APIInterface() { fun getProjectDescription(id: Int): String? { return try { getWithoutAuth("$root/mods/$id/description").data - } catch (ignored: Exception) { + } catch (err: Exception) { ignored.printStackTrace() null }