lib/caddy/cache.rb in caddy-1.5.1 vs lib/caddy/cache.rb in caddy-1.5.2
- old
+ new
@@ -17,10 +17,10 @@
cache[k]
end
def cache
raise "Please run `Caddy.start` before attempting to access the cache" unless @task && @task.running?
- raise "Caddy cache access before initial load; allow some more time for your app to start up" unless @cache
+ raise "Caddy cache access of :#{@key} before initial load; allow some more time for your app to start up" unless @cache
@cache
end
def start