summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiev@shopify.com>2015-10-26 13:33:53 -0400
committerElvin Efendi <elvin.efendiev@shopify.com>2015-11-13 15:48:14 -0500
commitbd7d0b1660be8bd4a32828ea5ca83c16c1797045 (patch)
tree3edaa75a42291e3804e0256e52604ee7c3281728 /lib/oxidized
parentc96c52ab7153ffd85906550544df627c6c80aac8 (diff)
do not rescue general exception
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/hook/githubrepo.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/oxidized/hook/githubrepo.rb b/lib/oxidized/hook/githubrepo.rb
index efa536b..a17d6b9 100644
--- a/lib/oxidized/hook/githubrepo.rb
+++ b/lib/oxidized/hook/githubrepo.rb
@@ -10,7 +10,5 @@ class GithubRepo < Oxidized::Hook
remote = repo.remotes['origin'] || repo.remotes.create('origin', cfg.remote_repo)
log "to remote: #{remote.url}"
remote.push(['refs/heads/master'], credentials: credentials)
- rescue Exception => e
- log e.backtrace.join('\n')
end
end