diff --git a/lib/tasks/hybrid_cloud.rake b/lib/tasks/hybrid_cloud.rake index 4f39b213..af3d8df1 100644 --- a/lib/tasks/hybrid_cloud.rake +++ b/lib/tasks/hybrid_cloud.rake @@ -57,7 +57,7 @@ namespace :rh_cloud do |args| payload: payload.to_json ) logger.debug(response) - rescue Exception => ex + rescue StandardError => ex logger.error(ex) end end