diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/service.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 20e1a921..5deae2bb 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -48,7 +48,10 @@ function mt:_callMethod(name, params) return res else local ok, r = pcall(table.dump, params) - local dump = ok and r or 'Cyclic table' + local dump = ok and r or '<Cyclic table>' + if #dump > 10000 then + dump = '<Large table>' + end log.debug(('Task [%s] failed, params: %s'):format( name, dump )) |