Skip to content

Commit 320044f

Browse files
committed
handle err message
1 parent 0b50f52 commit 320044f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/phoenix/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ function server.create()
830830
if srv[method] then
831831
srv[method](params, callback)
832832
else
833-
callback('Method not found: ' .. method)
833+
callback({ messages = 'Method not found: ' .. method })
834834
end
835835
end,
836836
notify = function(method, params)

0 commit comments

Comments
 (0)