add error logging to FullDataRequestHandler

This commit is contained in:
James Seibel
2025-02-05 17:31:13 -06:00
parent 10a3840373
commit 95db6885e7
@@ -64,7 +64,7 @@ public class FullDataSourceRequestHandler
// the server timestamp will be null if no LOD data exists for this position
Long serverTimestamp = this.fullDataSourceProvider().getTimestampForPos(message.sectionPos);
if (serverTimestamp == null
|| serverTimestamp <= clientTimestamp)
|| serverTimestamp <= clientTimestamp)
{
// either no data exists to sync, or the client is already up to date
rateLimiterSet.syncOnLoginRateLimiter.release();
@@ -93,6 +93,10 @@ public class FullDataSourceRequestHandler
rateLimiterSet.syncOnLoginRateLimiter.release();
});
}
catch (Exception e)
{
LOGGER.error("Unexpected issue getting request for pos ["+DhSectionPos.toString(message.sectionPos)+"], error: ["+e.getMessage()+"].", e);
}
}, executor);
}