Skip to content

Commit b32726f

Browse files
committed
Removed full thread dump
1 parent 512ca91 commit b32726f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

common/src/main/kotlin/com/lambda/plugin/PluginRegistry.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,10 @@ object PluginRegistry : Loadable {
6262

6363
loadMethod.invoke(loadInstance)
6464
}.onFailure {
65-
val threadDump = Thread.getAllStackTraces().entries.joinToString("\n") {
66-
it.key.toString() + it.value.joinToString("\n") { "\tat $it" }
67-
}
68-
6965
loadingError.format(
7066
file,
7167
it.message,
72-
threadDump
68+
it.stackTraceToString()
7369
)
7470
.split("\n")
7571
.forEach(LOG::error)

0 commit comments

Comments
 (0)