added error handling in http event source...