add requests to requrements, improve error logging