when API calls fail in urlopen etc wrappers, log details with interpret_http_exception()