catch errors
diff --git a/Jenkinsfile.sample b/Jenkinsfile.sample
index 7fd069b..f0c7290 100644
--- a/Jenkinsfile.sample
+++ b/Jenkinsfile.sample
@@ -81,6 +81,10 @@
         
 } // end try
 
+catch (e) {
+        echo 'Something went wrong'
+        throw e
+
 finally {
     node('ubuntu') {
         emailext body: "See ${env.BUILD_URL}", recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'FailingTestSuspectsRecipientProvider'], [$class: 'FirstFailingBuildSuspectsRecipientProvider']], replyTo: 'users@infra.apache.org', subject: "${env.JOB_NAME} - build ${env.BUILD_DISPLAY_NAME} - ${currentBuild.result}", to: 'gmcdonald@apache.org'