summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/rpc.lua4
1 files changed, 3 insertions, 1 deletions
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