Add more info than raise exceptions
This commit is contained in:
parent
73f7535192
commit
5d5a333377
|
@ -96,7 +96,7 @@ class Repository < ActiveRecord::Base
|
|||
if result == BuildServer::SUCCESS
|
||||
return true
|
||||
else
|
||||
raise "Failed to create repository #{name} inside platform #{platform.name}."
|
||||
raise "Failed to create repository #{name} inside platform #{platform.name} with code #{result}."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue