aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_file
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_file')
-rw-r--r--lib/active_file/site.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/active_file/site.rb b/lib/active_file/site.rb
index 1c71f74f0d..19cbbc754e 100644
--- a/lib/active_file/site.rb
+++ b/lib/active_file/site.rb
@@ -4,8 +4,8 @@ class ActiveFile::Site
begin
require "active_file/site/#{site.to_s.downcase}_site"
ActiveFile::Site.const_get(:"#{site}Site").new(**options)
- rescue LoadError
- puts "Couldn't configure unknow site: #{site}"
+ rescue LoadError => e
+ puts "Couldn't configure site: #{site} (#{e.message})"
end
end