better error management in memoize will lead to fewer 500s and more logging