Explorar o código

Ajout nom ressource où erreur

Brandao Arthur %!s(int64=6) %!d(string=hai) anos
pai
achega
10201c1b92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Client/src/main/java/rsx/BomberStudentRequest.java

+ 1 - 1
Client/src/main/java/rsx/BomberStudentRequest.java

@@ -87,7 +87,7 @@ public class BomberStudentRequest extends Thread {
             //Appel handler
             BomberStudentHandler handler = this.handlers.get(ressource);
             if(!handler.handle(json)){
-                System.err.println("Erreur pendant l'execution du handler");
+                System.err.println("Erreur pendant l'execution du handler " + ressource);
             }
         }
         //Fermeture socket