src/Palete/LanguageClient.vala
authorAlan <alan@roojs.com>
Fri, 19 Jan 2024 06:26:16 +0000 (14:26 +0800)
committerAlan <alan@roojs.com>
Fri, 19 Jan 2024 06:26:16 +0000 (14:26 +0800)
src/Palete/LanguageClient.vala

index 659e632..3439a7d 100644 (file)
@@ -16,7 +16,7 @@ namespace Palete {
                
                ERROR,
                ERROR_START,
-               ERROR_CLIENT_FAIL,
+               ERROR_RPC,
 
                CLOSE
        }
@@ -209,6 +209,7 @@ namespace Palete {
                public bool isReady()
                {
                        if (this.closed) {
+                               this.log(LanguageClientAction.RESTART,"closed is set - restarting");
                                GLib.debug("server stopped = restarting");
                                this.initialized = false;
                                this.closed = false;