Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change a remaining assert(0) call to FATAL_ERROR(msg). There was a regression since commit ced6d20 "For usages of assert() that are meant to persist in Release builds (when NDEBUG is defined), replace those usages with persistent alternatives" where when an "uncatched" exception is thrown inside a "side thread", the program doesn't abort anymore. This led to the problem @netinetwalker experienced where the emergethread got an unhandled exception for loading a mapblock while redis was loading, (see #3196) and then jmped outside its loop to work down its queue. This resulted in the server not doing any emerges anymore.
- Loading branch information