Navigation Menu

Skip to content

Commit

Permalink
Reduce needless assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent 7004f0f commit 5e26f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/client/message_validator.rb
Expand Up @@ -44,7 +44,7 @@ def validate_dataset(message)

def validate_date(message)
Time.parse(message["date"])
rescue ArgumentError => error
rescue ArgumentError
raise InvalidDate.new(message)
end
end
Expand Down

0 comments on commit 5e26f67

Please sign in to comment.