Show full stack trace for errors during chunk caching/compression
Move exception logging to method body so we don't end up logging all outbound exceptions, which other plugins (cough ProtocolLib) may or may not be causing.

Also rumours this patch causes the server to break with ProtocolLib installed.
@aadnk
Merge remote-tracking branch 'spigot/master'