-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Description
user password-update
command requests the old password.
Shows an exception when I use Ctrl+C instead of input.
Environment
- OS (where TypeDB server runs): macOS 13.4.1 (c) (22F770820d)
- TypeDB version (and platform): 2.25.7 (x86)
- TypeDB client: Console 2.25.7
- Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Start TypeDB Console (I used TypeDB Core and its Console)
- Use command
user password-update
- Use Ctrl + C
Expected Output
Graceful exit.
Actual Output
> user password-update
Old password:
Exception in thread "main" org.jline.reader.UserInterruptException
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:707)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:498)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:471)
at com.vaticle.typedb.console.common.Utils.readPassword(Utils.java:76)
at com.vaticle.typedb.console.command.REPLCommand.readREPLCommand(REPLCommand.java:767)
at com.vaticle.typedb.console.command.REPLCommand.readREPLCommand(REPLCommand.java:740)
at com.vaticle.typedb.console.TypeDBConsole.runREPLMode(TypeDBConsole.java:183)
at com.vaticle.typedb.console.TypeDBConsole.main(TypeDBConsole.java:128)