From bbdd2c2508ff236e573be21cddb3109a53ca606e Mon Sep 17 00:00:00 2001 From: Karlatemp Date: Wed, 25 Nov 2020 13:58:51 +0800 Subject: [PATCH] Remove testing code --- .../src/internal/data/MultiFilePluginDataStorageImpl.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/mirai-console/src/internal/data/MultiFilePluginDataStorageImpl.kt b/backend/mirai-console/src/internal/data/MultiFilePluginDataStorageImpl.kt index a099e3515..e27a62041 100644 --- a/backend/mirai-console/src/internal/data/MultiFilePluginDataStorageImpl.kt +++ b/backend/mirai-console/src/internal/data/MultiFilePluginDataStorageImpl.kt @@ -78,7 +78,6 @@ internal open class MultiFilePluginDataStorageImpl( yaml.encodeToString(instance.updaterSerializer, Unit).also { yamlRendered = it yaml.decodeAnyFromString(it) // test yaml - error("Test error") } }.recoverCatching { exception -> // Just use mainLogger for convenience.