Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Server::step throw is never catched. Replace it with an errorstream +…
… assert 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()
- Loading branch information
5f8e48c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert
is a no-op in release builds. Useabort
, or better yet proper error handling.5f8e48c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was reverted and a better fix was pushed and provided, thanks anyway :)