Minor cleanups
This commit is contained in:
parent
ee2f4f3e51
commit
e0b7308960
4 changed files with 5 additions and 23 deletions
|
@ -39,7 +39,7 @@ fun main(args: Array<String>) {
|
|||
} catch (e: CryptoException) {
|
||||
System.err.println("HTTP Status Code: ${e.statusCode}")
|
||||
System.err.println(e.message)
|
||||
} catch (e: IllegalArgumentException) {
|
||||
} catch (ignore: IllegalArgumentException) {
|
||||
System.err.println("Could not display the specified currency: ${args[1]}")
|
||||
} catch (e: IOException) {
|
||||
System.err.println(e.message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue