send_event error handler