method

warn_if_credentials_are_invalid

warn_if_credentials_are_invalid()
private

No documentation available.

# File railties/lib/rails/commands/credentials/credentials_command.rb, line 110
        def warn_if_credentials_are_invalid
          credentials.validate!
        rescue ActiveSupport::EncryptedConfiguration::InvalidContentError => error
          say "WARNING: #{error.message}", :red
          say ""
          say "Your application will not be able to load '#{content_path}' until the error has been fixed.", :red
        end