title: How to detect the failure of a Lambda which is called by another Lambda?
body: <p>I've recently been dealing with a project which has a peculiar design - the server invokes an aws lambda which itself invokes another lambda - and the second lambda is failing.
   However, it seems the first lambda (the server-invoked one) is not receiving any error from the second one, so it just waits, and so does the server, until there is a timeout.</p>
  
  <p>I was wondering if this is a common problem and if there is a "typical" solution, best-practices to consider, etc.</p>
  
  <p>I don't think language is particularly important - I want to know if there's a simple, quick, direct way of dealing with the problem in the title without doing things like overhauling everything or setting global flags.</p>