Merge branch 'appcode10' into merge_appcode10
[idea/community.git] / platform / platform-impl / src / com / intellij / openapi / vfs / newvfs / persistent / FSRecords.java
index 5b1f5da677b9ab3a74c8fa2c66af482bff7d9d59..df79c338b0346629b99d62dcb48f987427c1ba66 100644 (file)
@@ -126,7 +126,7 @@ public class FSRecords implements Forceable {
 
     private static void scanFreeRecords() {
       final int filelength = (int)getRecords().length();
-      LOG.assertTrue(filelength % RECORD_SIZE == 0);
+      LOG.assertTrue(filelength % RECORD_SIZE == 0, "invalid file size: " + filelength);
 
       int count = filelength / RECORD_SIZE;
       for (int n = 2; n < count; n++) {