lib/decode_this.rb in decode_this-0.1.2 vs lib/decode_this.rb in decode_this-0.1.3
- old
+ new
@@ -50,9 +50,9 @@
end
def pem
keys_absolute_path = File.expand_path(jwt_config.path)
- raise KeyFileNotFoundError.new("Cannot found file in #{jwt_config.path}") unless File.readable?(keys_absolute_path)
+ raise ConfigFileNotFoundError.new("Cannot found file in #{jwt_config.path}") unless File.readable?(keys_absolute_path)
File.read(jwt_config.path)
end
end