fix(extension): 修复搜索器错误日志不包括异常信息.

意外漏掉了这个错误信息, 目前已补充, 以方便寻找问题.
This commit is contained in:
LamGC 2022-05-01 00:09:28 +08:00
parent d14ef9de36
commit 1f2ab0f9b1
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -132,7 +132,7 @@ internal class ExtensionLoader(
result[finder] = artifacts result[finder] = artifacts
} }
} catch (e: Exception) { } catch (e: Exception) {
log.error { "搜索器 ${finder::class.java.name} 在搜索扩展 `$extensionArtifact` 时发生错误:" } log.error(e) { "搜索器 ${finder::class.java.name} 在搜索扩展 `$extensionArtifact` 时发生错误." }
} }
} }
return result return result