any kind of error will abort the insert
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 29 Sep 2007 21:29:34 +0000 (21:29 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 29 Sep 2007 21:29:34 +0000 (21:29 +0000)
src/de/todesbaum/jsite/application/ProjectInserter.java

index 1b0021a..7b4d619 100644 (file)
@@ -301,7 +301,7 @@ public class ProjectInserter implements FileScannerListener, Runnable {
                                        fireProjectInsertProgress(succeeded, failed, fatal, total, finalized);
                                }
                                success = "PutSuccessful".equals(messageName);
-                               finished = success || "PutFailed".equals(messageName);
+                               finished = success || "PutFailed".equals(messageName) || messageName.endsWith("Error");
                        }
                }