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 51fb756b..ad032655 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -250,7 +250,7 @@ function mt:compileAst(obj)
log.debug(message)
rpc:notify('window/showMessage', {
type = 3,
- message = lang.script('PARSER_CRASH', err:match 'grammar%.lua%:%d+%:(.+)'),
+ message = lang.script('PARSER_CRASH', err:match 'grammar%.lua%:%d+%:(.+)' or err),
})
end
end