Refine code style

This commit is contained in:
Mygod
2018-04-21 23:49:10 -07:00
parent 2615abae2f
commit 2b2639e288
4 changed files with 8 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ class P2pSupplicantConfiguration {
fun readPsk(): String? {
return try {
pskParser.findAll(content ?: return null).single().groupValues[1]
} catch (e: Exception) {
} catch (e: RuntimeException) {
Log.w(TAG, content)
e.printStackTrace()
Toast.makeText(app, e.message, Toast.LENGTH_LONG).show()