mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 08:36:22 +00:00
Merge branch 'issue-12919' of https://0xacab.org/sutty/sutty into 17.3.alpine.panel.sutty.nl
This commit is contained in:
commit
83d24fa07c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class SiteRenameOriginToUpstream < ActiveRecord::Migration[6.1]
|
|||
|
||||
site.repository.rugged.remotes.rename('origin', 'upstream')
|
||||
Rails.logger.info "#{site.name}: renamed origin to upstream"
|
||||
rescue Rugged::Error => e
|
||||
rescue Rugged::Error, Rugged::OSError => e
|
||||
Rails.logger.warn "#{site.name}: #{e.message}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue