mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50: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
|
||||
) {
|
||||
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
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user