debug logging and dont make gfycat fail on redirects