diff options
author | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-10-26 13:33:53 -0400 |
---|---|---|
committer | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-11-13 15:48:14 -0500 |
commit | bd7d0b1660be8bd4a32828ea5ca83c16c1797045 (patch) | |
tree | 3edaa75a42291e3804e0256e52604ee7c3281728 | |
parent | c96c52ab7153ffd85906550544df627c6c80aac8 (diff) |
do not rescue general exception
-rw-r--r-- | lib/oxidized/hook/githubrepo.rb | 2 |
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 |