Include extension loading errors in error logs

(cherry picked from commit b092e98ac9c57e5450a3027e69971b046570f2e8)
This commit is contained in:
arkon 2021-04-19 10:18:22 -04:00 committed by Jobobby04
parent b886f0a55a
commit 72d315b6ed

View File

@ -163,7 +163,7 @@ internal object ExtensionLoader {
else -> throw Exception("Unknown source class type! ${obj.javaClass}")
}
} catch (e: Throwable) {
Timber.w(e, "Extension load error: $extName ($it)")
Timber.e(e, "Extension load error: $extName ($it)")
return LoadResult.Error(e)
}
}