FIX: TUI SHOW ERROR
This commit is contained in:
@@ -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)");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user