Added error handling to favicon scanner