mirror of
https://github.com/corda/corda.git
synced 2025-02-21 17:56:54 +00:00
Use String instead of Class for the flowClass (#1270)
This commit is contained in:
parent
4eb58b874a
commit
204b2fc556
@ -7,7 +7,7 @@ import java.time.Instant
|
||||
*/
|
||||
data class FlowStackSnapshot(
|
||||
val time: Instant,
|
||||
val flowClass: Class<out FlowLogic<*>>,
|
||||
val flowClass: String,
|
||||
val stackFrames: List<Frame>
|
||||
) {
|
||||
data class Frame(
|
||||
|
@ -73,7 +73,7 @@ class FlowStackSnapshotFactoryImpl : FlowStackSnapshotFactory {
|
||||
}
|
||||
Frame(element, stackObjects)
|
||||
}
|
||||
return FlowStackSnapshot(Instant.now(), flowClass, frames)
|
||||
return FlowStackSnapshot(Instant.now(), flowClass.name, frames)
|
||||
}
|
||||
|
||||
private val StackTraceElement.instrumentedAnnotation: Instrumented? get() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user