From 540da8f1fc680899c349204a5aa62d0ba2412054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 20 Dec 2018 11:28:23 +0800 Subject: =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=89=93=E5=8D=B0=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/rpc.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/src/rpc.lua') diff --git a/server/src/rpc.lua b/server/src/rpc.lua index ad98e7d5..99d96938 100644 --- a/server/src/rpc.lua +++ b/server/src/rpc.lua @@ -66,7 +66,9 @@ local function recieve(self, proto) end BUF[id] = nil if data.timeout and os.clock() > data.timeout then - log.warn('Recieve timeout: ', table.dump(proto.error)) + log.warn('Recieve timeout: ', table.dump(proto)) + local info = debug.getinfo(data.callback, 'S') + log.warn('Call back info: ', info.source, info.linedefined) return end if proto.error then -- cgit v1.2.3