added better error handling for fetching ad
added better error handling for fetching ad

joemccann/dillinger,joemccann/dillinger,jiusanzhou/dillinger,joemccann/dillinger,jiusanzhou/dillinger,jiusanzhou/dillinger