From b2c1a69f74823d3481076e5def02e45a22eae4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 30 Jan 2019 12:13:11 +0800 Subject: =?UTF-8?q?=E6=94=B9=E4=B8=AA=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/service.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') 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 -- cgit v1.2.3