mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Adjust exception message for ExtensionException
This commit is contained in:
parent
7da6d33815
commit
77176f5242
@ -105,7 +105,7 @@ internal fun <T : Extension> AbstractExtensionPoint<out T>.throwExtensionExcepti
|
|||||||
throwable: Throwable
|
throwable: Throwable
|
||||||
) {
|
) {
|
||||||
throw ExtensionException(
|
throw ExtensionException(
|
||||||
"Exception while executing extension ${extension.kClassQualifiedNameOrTip} from ${plugin.name}, registered for ${this.type.qualifiedName}",
|
"Exception while executing extension ${extension.kClassQualifiedNameOrTip} provided by plugin '${plugin.name}', registered for ${this.type.qualifiedName}",
|
||||||
throwable
|
throwable
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user