diff options
-rw-r--r-- | server/src/service.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 4a5509e7..214e3f41 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -491,7 +491,7 @@ function mt:_createCompileTask() self:doDiagnostics(self._lastLoadedVM) local uri = self._needCompile[1] if uri then - self:compileVM(uri) + pcall(function () self:compileVM(uri) end) else uri = next(self._needDiagnostics) if uri then |