Better error messages from reactor
This commit is contained in:
@@ -62,6 +62,8 @@ import org.springframework.ide.vscode.languageserver.starter.LanguageServerAutoC
|
||||
import org.springframework.ide.vscode.languageserver.starter.LanguageServerRunnerAutoConf;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
|
||||
import reactor.core.publisher.Hooks;
|
||||
|
||||
@SpringBootConfiguration(proxyBeanMethods = false)
|
||||
@ImportAutoConfiguration({
|
||||
// During development you can uncomment the below so that boot dash can detect started state properly:
|
||||
@@ -78,6 +80,7 @@ public class BootLanguagServerBootApp {
|
||||
private static final String SERVER_NAME = "boot-language-server";
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Hooks.onOperatorDebug();
|
||||
System.setProperty(LanguageServerRunner.SYSPROP_LANGUAGESERVER_NAME, SERVER_NAME); //makes it easy to recognize language server processes - and set this as early as possible
|
||||
|
||||
LogRedirect.bootRedirectToFile(SERVER_NAME); //TODO: use boot (or logback realy) to configure logging instead.
|
||||
|
||||
Reference in New Issue
Block a user