FIX: TUI SHOW ERROR

This commit is contained in:
rubenpirreram
2026-05-04 15:21:33 +02:00
parent 5d49199e4d
commit 5418d70cf8
3 changed files with 4 additions and 4 deletions
@@ -133,7 +133,7 @@ public class ClientLauncherTUI {
System.out.println("Insert the required position:");
pos = scanner.nextInt();
} catch (Exception e) {
System.out.println("ERROR: Invalid input(expected number)");
view.showError("ERROR: Invalid input(expected number)");
return;
}
}
@@ -156,7 +156,7 @@ public class ClientLauncherTUI {
}
else
{
System.out.println("ERROR: Invalid input(action not valid)");
view.showError("ERROR: Invalid input(action not valid)");
}
}
}