We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80056c1 commit a264468Copy full SHA for a264468
tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp
@@ -1811,6 +1811,11 @@ static void computeDiagnostics(
1811
void cancelled() override {
1812
Receiver(RequestResult<DiagnosticsResult>::cancelled());
1813
}
1814
+
1815
+ void failed(StringRef Error) override {
1816
+ LOG_WARN_FUNC("diagnostics failed: " << Error);
1817
+ Receiver(RequestResult<DiagnosticsResult>::fromError(Error));
1818
+ }
1819
};
1820
1821
auto Consumer = std::make_shared<DiagnosticsConsumer>(std::move(Receiver));
0 commit comments