Fix project transfer error

This commit is contained in:
tsl0922 2013-02-27 18:27:10 +08:00
parent 135418dcbf
commit df63ab78a8

View file

@ -25,7 +25,7 @@ class ProjectTransferService
Gitlab::ProjectMover.new(project, old_dir, new_dir).execute Gitlab::ProjectMover.new(project, old_dir, new_dir).execute
save! project.save!
end end
rescue Gitlab::ProjectMover::ProjectMoveError => ex rescue Gitlab::ProjectMover::ProjectMoveError => ex
raise Project::TransferError.new(ex.message) raise Project::TransferError.new(ex.message)