RavenDB-2830 Added debug info when scratch buffer is full