log a debug message when http requests aren't successful