diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index f9809e9fd..579f30e9a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -5540,9 +5540,11 @@ void ServerMap::loadBlock(std::string sectordir, std::string blockfile, MapSecto catch(SerializationError &e) { dstream<<"WARNING: Invalid block data on disk " - "(SerializationError). Ignoring. " - "A new one will be generated." + "(SerializationError). " + "what()="<<e.what() <<std::endl; + //" Ignoring. A new one will be generated. + assert(0); // TODO: Backup file; name is in fullpath. } |