Skip to content

Commit

Permalink
refactor: upcase configuration keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Jan 11, 2024
1 parent fe3c136 commit e20946f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mihari/actor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def timeout
def validate_configuration!
return if configured?

joined = self.class.configuration_keys.join(", ")
joined = self.class.configuration_keys.map(&:upcase).join(", ")
be = (self.class.configuration_keys.length > 1) ? "are" : "is"
message = "#{self.class.key} is not configured correctly. #{joined} #{be} missing."
raise ConfigurationError, message
Expand Down

0 comments on commit e20946f

Please sign in to comment.