mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Log throwable when failing to save chunk/poi/entity data
This commit is contained in:
parent
e43b9191b2
commit
f9a133bd33
1 changed files with 3 additions and 3 deletions
|
@ -10308,7 +10308,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ }
|
||||
+ chunk.setUnsaved(false);
|
||||
+ } catch (final Throwable thr) {
|
||||
+ LOGGER.error("Failed to save chunk data (" + this.chunkX + "," + this.chunkZ + ") in world '" + WorldUtil.getWorldName(this.world) + "'");
|
||||
+ LOGGER.error("Failed to save chunk data (" + this.chunkX + "," + this.chunkZ + ") in world '" + WorldUtil.getWorldName(this.world) + "'", thr);
|
||||
+ if (unloading && !completing) {
|
||||
+ this.completeAsyncUnloadDataSave(RegionFileIOThread.RegionFileType.CHUNK_DATA, null);
|
||||
+ }
|
||||
|
@ -10354,7 +10354,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ this.lastEntityUnload = save;
|
||||
+ }
|
||||
+ } catch (final Throwable thr) {
|
||||
+ LOGGER.error("Failed to save entity data (" + this.chunkX + "," + this.chunkZ + ") in world '" + WorldUtil.getWorldName(this.world) + "'");
|
||||
+ LOGGER.error("Failed to save entity data (" + this.chunkX + "," + this.chunkZ + ") in world '" + WorldUtil.getWorldName(this.world) + "'", thr);
|
||||
+ }
|
||||
+
|
||||
+ return true;
|
||||
|
@ -10378,7 +10378,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ this.poiDataUnload.completable().complete(save);
|
||||
+ }
|
||||
+ } catch (final Throwable thr) {
|
||||
+ LOGGER.error("Failed to save poi data (" + this.chunkX + "," + this.chunkZ + ") in world '" + WorldUtil.getWorldName(this.world) + "'");
|
||||
+ LOGGER.error("Failed to save poi data (" + this.chunkX + "," + this.chunkZ + ") in world '" + WorldUtil.getWorldName(this.world) + "'", thr);
|
||||
+ }
|
||||
+
|
||||
+ return true;
|
||||
|
|
Loading…
Reference in a new issue