summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua2
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