Merge "Send event to stream and execute hook when merge fails"