Improved instagram error handling