Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding error messages and minor bug correction.
[hpcvm.git] / src / and / hpcvm / RunningApplication.java
index 5988648..5e79522 100644 (file)
@@ -82,11 +82,14 @@ public class RunningApplication implements Serializable
                                        computingsNodes.set( i , _new ) ;
                                        return 0 ;
                                }
-                               
-                               System.err.println( "Dead computing client not found. Unable to replace it!" ) ;
                        }
+                       
+                       System.err.println( "Dead computing client not found. Unable to replace it!" ) ;
+                       return 1 ;
                }
                
+               System.err.println( "Dead or new computing client is null! Unable to replace one of them!" ) ;
+               
                return 1 ;
        }