Server::step throw is never catched in minetestserver
authorLoic Blot <loic.blot@unix-experience.fr>
Tue, 17 Mar 2015 08:13:12 +0000 (09:13 +0100)
committerLoic Blot <loic.blot@unix-experience.fr>
Tue, 17 Mar 2015 14:26:20 +0000 (15:26 +0100)
commit768596927458d4d1d4ae7914526311471d242555
tree80619a7712a6f7960cf6c2d2676103e23806237a
parent814e55597d3c3c1711825366d4345cee48d8fb87
Server::step throw is never catched in minetestserver
Replace it with an errorstream + assert for server

This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions:
* EmergeThread::Thread()
* ScriptApiEnv::environment_Step()
* ScriptApiEnv::player_event()
* ServerThread::Thread()
src/server.cpp