Skip to content

Commit

Permalink
Do not throw exception when there is no internet connection
Browse files Browse the repository at this point in the history
  • Loading branch information
baratynskiy authored and SerVB committed Jul 23, 2019
1 parent 39efd0f commit 9594672
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ object KotlinUpdater {
}
}
} catch (e: IOException) {
KotlinLogger.INSTANCE.logException("Couldn't connect to https://dl.bintray.com/jetbrains/kotlin/netbeans-plugin", e)
KotlinLogger.INSTANCE.logInfo("Couldn't connect to https://dl.bintray.com/jetbrains/kotlin/netbeans-plugin")
} finally {
connection.inputStream.close()
connection.disconnect()
}
}
Expand Down

0 comments on commit 9594672

Please sign in to comment.