Skip to content

Commit

Permalink
Merge pull request #2966 from Ana06/wrong_project
Browse files Browse the repository at this point in the history
[api] Fix exception message
  • Loading branch information
Moisés Déniz Alemán committed Apr 12, 2017
2 parents c95e2ac + 90802d0 commit 4dd05f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/project/update_from_xml_command.rb
Expand Up @@ -245,7 +245,7 @@ def update_release_targets(current_repo, xml_hash)
trigger = release_target['trigger']

unless project
raise SaveError, "Project '#{project}' does not exist."
raise SaveError, "Project '#{release_target['project']}' does not exist."
end

if project.defines_remote_instance?
Expand Down

0 comments on commit 4dd05f9

Please sign in to comment.