From 77176f5242936d57540c5fa5b00cc3129bcb1218 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 6 Sep 2020 14:22:01 +0800 Subject: [PATCH] Adjust exception message for ExtensionException --- .../net/mamoe/mirai/console/extension/AbstractExtensionPoint.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/extension/AbstractExtensionPoint.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/extension/AbstractExtensionPoint.kt index 4a52ef01a..81c93c68e 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/extension/AbstractExtensionPoint.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/extension/AbstractExtensionPoint.kt @@ -105,7 +105,7 @@ internal fun AbstractExtensionPoint.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 ) }