mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
[CORDA-2123]: Unhandled IndexOutOfBoundsException for malformed Shell commands. (fix) (#4225)
This commit is contained in:
parent
71117ebdad
commit
e2a351cb70
@ -128,7 +128,11 @@ object InteractiveShell {
|
||||
InterruptHandler { jlineProcessor.interrupt() }.install()
|
||||
thread(name = "Command line shell processor", isDaemon = true) {
|
||||
Emoji.renderIfSupported {
|
||||
jlineProcessor.run()
|
||||
try {
|
||||
jlineProcessor.run()
|
||||
} catch (e: IndexOutOfBoundsException) {
|
||||
log.warn("Cannot parse malformed command.")
|
||||
}
|
||||
}
|
||||
}
|
||||
thread(name = "Command line shell terminator", isDaemon = true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user