Skip to content

Commit b4d4a27

Browse files
committed
[Backtracing] Fix JSON output when not giving backtraces for all threads.
I'd omitted the key from the dictionary by mistake. rdar://121430255
1 parent 20685b9 commit b4d4a27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/libexec/swift-backtrace/JSON.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ extension SwiftBacktrace {
272272
}
273273
write("]")
274274
} else {
275+
write(#", "crashedThread": "#)
275276
outputJSONThread(ndx: target.crashingThreadNdx,
276277
thread: crashingThread)
277278
}

0 commit comments

Comments
 (0)