Commit f4d0835e authored by Mygod's avatar Mygod

Refine error message

parent ebcf5143
...@@ -134,7 +134,7 @@ class CustomRulesFragment : ToolbarFragment(), Toolbar.OnMenuItemClickListener, ...@@ -134,7 +134,7 @@ class CustomRulesFragment : ToolbarFragment(), Toolbar.OnMenuItemClickListener,
IDN.toASCII(value.toString(), IDN.ALLOW_UNASSIGNED or IDN.USE_STD3_ASCII_RULES) IDN.toASCII(value.toString(), IDN.ALLOW_UNASSIGNED or IDN.USE_STD3_ASCII_RULES)
null null
} catch (e: IllegalArgumentException) { } catch (e: IllegalArgumentException) {
e.message e.cause?.message ?: e.message
} }
Template.Url -> try { Template.Url -> try {
URL(value.toString()) URL(value.toString())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment