04-25-2015, 12:01 AM
Generally the server uses the ASSERT macro, which is just a straight call to exit after logging the error. It has the advantage that most c++ run-times don't print then stacktrace on a unhanded exception and it makes it extremely clear that you are supposed to be able to recover from the error. It also isn't compiled into the release version as those sort of bugs aren't supposed to happen in the release version . But generally we agree with the fail fast idea.