Include extension loading errors in error logs

This commit is contained in:
arkon 2021-04-19 10:18:22 -04:00
parent 9ee6262aed
commit b092e98ac9

View file

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