Skip to content

Commit

Permalink
Merge pull request #8765 from eduardoj/fix_8758_show_correct_request_id
Browse files Browse the repository at this point in the history
Show correct output when excluding an already excluded request
  • Loading branch information
David Kang committed Nov 22, 2019
2 parents 1b500c7 + 5cfeccc commit b8d53d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/staging/request_excluder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def exclude_request(request)

return if request_excluded.save

errors << "Request #{request_excluded.bs_request_id}: #{request_excluded.errors.full_messages.to_sentence}."
errors << "Request #{request_excluded.number}: #{request_excluded.errors.full_messages.to_sentence}."
end

def requests_to_be_excluded
Expand Down

0 comments on commit b8d53d9

Please sign in to comment.