lib/global_session/rack.rb in global_session-1.1.0 vs lib/global_session/rack.rb in global_session-2.0.0
- old
+ new
@@ -67,10 +67,10 @@
parts = klass_name.split('::')
namespace = Object
namespace = namespace.const_get(parts.shift.to_sym) until parts.empty?
directory_klass = namespace
rescue Exception => e
- raise ConfigurationError, "Invalid/unknown directory class name #{@configuration['directory']}"
+ raise GlobalSession::ConfigurationError, "Invalid/unknown directory class name #{@configuration['directory']}"
end
if directory.instance_of?(String)
@directory = directory_klass.new(@configuration, directory)
else