##// END OF EJS Templates
fixed error message about cache settings
marcink -
r610:b0a411f5 default
parent child Browse files
Show More
@@ -110,7 +110,8 def query_callable(manager):
110
110
111 def get_cache_region(name, region):
111 def get_cache_region(name, region):
112 if region not in beaker.cache.cache_regions:
112 if region not in beaker.cache.cache_regions:
113 raise BeakerException('Cache region not configured: %s' % region)
113 raise BeakerException('Cache region not configured: %s'
114 'Check if proper cache settings are in the .ini files' % region)
114 kw = beaker.cache.cache_regions[region]
115 kw = beaker.cache.cache_regions[region]
115 return beaker.cache.Cache._get_cache(name, kw)
116 return beaker.cache.Cache._get_cache(name, kw)
116
117
General Comments 0
You need to be logged in to leave comments. Login now