Don't print whole json data buffer to errorstream on error
authorest31 <MTest31@outlook.com>
Thu, 28 Jan 2016 22:53:58 +0000 (23:53 +0100)
committerest31 <MTest31@outlook.com>
Thu, 28 Jan 2016 22:53:58 +0000 (23:53 +0100)
commit860d70bd0e228ee542e3e559961bfc7e56888d77
tree61e29746f8e88acfdb6beb3a90ed6782e97d6ca4
parente52ebda8b2273bbd80573838d6dbafb31ee2cd2b
Don't print whole json data buffer to errorstream on error

`errorstream` must not be overly verbose as clientside it is directly printed
onto the ingame chat window. These days, the serverlist can contain > 200k bytes,
so better print it to warningstream if the data buffer is too long.
src/convert_json.cpp
src/script/lua_api/l_util.cpp