Skip to content

Commit

Permalink
Merge pull request #1006 from ninoseki/upcase-configuration-keys
Browse files Browse the repository at this point in the history
refactor: upcase configuration keys
  • Loading branch information
ninoseki authored Jan 11, 2024
2 parents fe3c136 + e20946f commit afd423f
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 afd423f

Please sign in to comment.