Add a little debug code for API call failures.