Add more info in create_project raise

This commit is contained in:
Vladimir Sharshov 2011-10-28 21:51:02 +04:00
parent 1bb58f5bd4
commit 061d3dc265
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class Project < ActiveRecord::Base
if result == BuildServer::SUCCESS
return true
else
raise "Failed to create project #{name} (repo main) inside platform #{owner.uname}_personal with code #{result}."
raise "Failed to create project #{unixname} (repo #{repository.unixname}) inside platform #{repository.platform.unixname} in path #{path} with code #{result}."
end
end