Update GradleReleasePlugin.groovy

exception handling modified