For unrecoverable projects, rename them with a suffix so the next time we won't try to recover them again.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1472 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
91ffe71d17
commit
a16df8f2d6
@ -358,6 +358,8 @@ public class FileProjectManager extends ProjectManager {
|
|||||||
" in directory " + name);
|
" in directory " + name);
|
||||||
} else {
|
} else {
|
||||||
logger.warn("Failed to recover project in directory " + name);
|
logger.warn("Failed to recover project in directory " + name);
|
||||||
|
|
||||||
|
file.renameTo(new File(file.getParentFile(), name + ".corrupted"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user