Skip to content

Commit d8dedc2

Browse files
committed
[lldb] Fix incorrect uses of LLDB_LOG_ERROR in the Swift language runtime
Same changes as e0e36e3 but for the Swift language runtime.
1 parent ebf9882 commit d8dedc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,7 @@ void SwiftLanguageRuntimeImpl::WillStartExecutingUserExpression(
18861886
if (!type_system_or_err) {
18871887
LLDB_LOG_ERROR(
18881888
log, type_system_or_err.takeError(),
1889-
"SwiftLanguageRuntime: Unable to get pointer to type system");
1889+
"SwiftLanguageRuntime: Unable to get pointer to type system: {0}");
18901890
return;
18911891
}
18921892

@@ -1961,7 +1961,7 @@ void SwiftLanguageRuntimeImpl::DidFinishExecutingUserExpression(
19611961
if (!type_system_or_err) {
19621962
LLDB_LOG_ERROR(
19631963
log, type_system_or_err.takeError(),
1964-
"SwiftLanguageRuntime: Unable to get pointer to type system");
1964+
"SwiftLanguageRuntime: Unable to get pointer to type system: {0}");
19651965
return;
19661966
}
19671967

0 commit comments

Comments
 (0)