Skip to content

Commit

Permalink
Change message a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoos committed Dec 30, 2014
1 parent 157ebe7 commit f2a1a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pavlov/operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def raise_unauthorized(message = 'Unauthorized')
def raise_on_argument_missing
if missing_arguments.any?
error_message = missing_arguments.map do |argument|
"#{argument.name} should not be empty"
"#{argument.name} should not be empty or nil"
end.join(', ')

raise Pavlov::ValidationError, error_message
Expand Down

0 comments on commit f2a1a54

Please sign in to comment.