diff --git a/src/api/base-classes/Swagger-GraphDB.coffee b/src/api/base-classes/Swagger-GraphDB.coffee index 9cc7838..8b337fa 100644 --- a/src/api/base-classes/Swagger-GraphDB.coffee +++ b/src/api/base-classes/Swagger-GraphDB.coffee @@ -38,7 +38,10 @@ class Swagger_GraphDB extends Swagger_Common return if data instanceof Object and data.keys().empty() # if object, check if not empty return - @.cache.put key,data # save data into cache + try + @.cache.put key,data # save data into cache + catch message + logger?.error "Got #{message} when saving cache key #{key}" send_From_Cache: (res, key, callback)=> if @.cache_Enabled diff --git a/src/services/data/Query-Tree.coffee b/src/services/data/Query-Tree.coffee index 198cb8e..a51cff9 100644 --- a/src/services/data/Query-Tree.coffee +++ b/src/services/data/Query-Tree.coffee @@ -147,7 +147,7 @@ class Query_Tree sort_Containers: (containers)-> titles = (container.title.lower() for container in containers).sort() - log titles + sorted_Containers = [] for title in titles for container in containers