tweak to error handling in queryFlickr