handle case where cache contains no data
include sql table name in sql errors